well, I have a problem where the textboxes in gridview are somehow caching old value, so since texboxes get form values out of form collection, i wanted to prevent that
well, i got into Render event and I see that we're sending incorrect value to the client there. And in OnDataBind, i see the textbox is getting the correct value. I checked the e.Item at the end of the DataBind and the good value is there. What can happen after onDataBind and before Render that...
I ahev a GridView filled with ASP.NET Texboxes which I create on Grid_DataBind event. we have a functionality where user can change value in a textbox and then revert changes. Revert goes into DB and gets all the old values and reloads the grid, re-creating all the textboxes.
The problem: when...
Hi, I am using an array to that represent a table in memory:
col1 col2 col3 col4
5 5 10
15 18 23
The app does not know the sie of the array on each execution so I set it to a large size, liek 1000 by 1000(1000 rows thousand columns). Of course it is inneficient as my...
Hi, I have a function that does some calc and returns a decimal which i try to put into a datarow. so:
decimal myvar= SomeCalc(..);
//lets assume myvar=0.9 after calculation
//update the output row in place with value
newOutputRow["column"]= myvar;
But then when I do...
Hi,
how can I declare a dynami multidimensional array? I have this right now for 2-dim array
protected CellProperties[,] CellValuesContainer = new CellProperties[500,500];
and this for one-dim array
protected RowProperties[] RowValuesContainer = new RowProperties[100];
Obviously I need...
Hi, I have a class that inherits from another class, which in turn inherits from a base class. So there are 3 classes. So the second class overides base implementation and the third class overrides some of second class' implementations.
So the problem is as follows: third class calls a method...
Hi, I have an input box(asp.net textbox). When user makes a change to the value I need to save the old value forst. What event can I hook up to the box to get the old value? Also how can I get the value that was there before update
Thanks
Hi, I am creating a DataTable on the fly(basically converting html table to datatable). I need a way to assign unique ID's to each cell in DataRow. I dont see datacell object to which I can assign Id's. what is the way to do it?
//create rows
foreach (TableRow SourceTableRow in...
Hi, I have a page that uses asp.net Table (<asp:Table>) to display data. In code it loops through dataset and creates the table. It also appends JS attributes while it does it.
I need to use DataGrid instead now. Creating Datatable instead of generating table is not hard, but we cant add...
Hi, I have radio button group with 2 buttons, Yes and No. Few things:
1) How do I attach JS event to fire when user clicks Yes
2) In JS code, how can I check the value of the radio button group, basically if Yes or No is selected?
I am using ASP.NET radio button group, but here is the HTML...
Hi, I have radio button group with 2 buttons, Yes and No. Few things:
1) How do I attach JS event to fire when user clicks Yes
2) In JS code, how can I check the value of the radio button group, basically if Yes or No is selected?
Thanks!!!
Hi, I have a DIV (image) that, when clicked, expands and inside that div user will see a menu (other divs).
Now I want to add functionality where when user clicks on any other part of the page while div is open, to close it so the menu closes.
I have a function to close the div. I also added...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.