Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mais123
  • Order by date
  1. mais123

    Request.Form and Textboxes

    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
  2. mais123

    Request.Form and Textboxes

    is there a way to clear Request.Form or prevent textboxes from getting old values from it? Thanks
  3. mais123

    GridView values are not refreshing

    Well, I found out that the textbox is populated from Request.Form with old value!. So thats the problem. Now how do I prevent that?
  4. mais123

    GridView values are not refreshing

    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...
  5. mais123

    GridView values are not refreshing

    private void Grid1_ItemDataBound(object sender, DataGridItemEventArgs e) { /// Way to access hidden columns: ///Expanded cell ///e.Item.Cells[levels] ///HasChildren cell ///e.Item.Cells[levels + 1] ///Level Cell...
  6. mais123

    GridView values are not refreshing

    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...
  7. mais123

    Infinity symbol

    Does anyone knwo how to display infinity symbol in asp.net textbox? Thanks
  8. mais123

    Replacing multi-dimensional array with ArrayList

    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...
  9. mais123

    Decimal number getting rounded up

    thanks guys, it turned out to be i was setting the column type incorrectly
  10. mais123

    Decimal number getting rounded up

    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...
  11. mais123

    Dynamic multi-dimensional array

    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...
  12. mais123

    Multi-level linheritance

    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...
  13. mais123

    Getting a value before update

    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
  14. mais123

    Adding Id's to items in DataRow

    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...
  15. mais123

    Converting asp.net table to DataGrid

    For example, adding TableRow to DataTable does not give an error. But what does it produce?
  16. mais123

    Converting asp.net table to DataGrid

    Is there any way to create DataTable from Table(of cource not including attributes)? This would simplify conversion a bit I think Thanks
  17. mais123

    Converting asp.net table to DataGrid

    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...
  18. mais123

    Attaching JavaScript to radio buttons

    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...
  19. mais123

    Attching JS to radio buttton group

    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!!!
  20. mais123

    OnClick and Hover events

    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...

Part and Inventory Search

Back
Top