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
  • Content: Threads
  • Order by date
  1. mais123

    Request.Form and Textboxes

    is there a way to clear Request.Form or prevent textboxes from getting old values from it? Thanks
  2. 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...
  3. mais123

    Infinity symbol

    Does anyone knwo how to display infinity symbol in asp.net textbox? Thanks
  4. 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...
  5. 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...
  6. 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...
  7. 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...
  8. 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
  9. 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...
  10. 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...
  11. 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...
  12. 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!!!
  13. 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...
  14. mais123

    Preventing double click

    Hi, I have a page with links that upon a click execute remote scripting call (kind of liek ajax) and return a URL to the JS which then redirects the browser to that url. Now the problem arrises when users do double clicks or click the link before the first click finishes processing. What is...
  15. mais123

    Creating future date and formatting it

    Hi I need to create a date that is 21 days in the future and output it in this format: mm/dd/yyyy I have this: var d = new Date(); d.setDate(d.getDate() + 21); var formattedDate = d.getMonth() + '/' + d.getDate() + '/' + d.getFullYear() alert(formattedDate); I get 3/2/2008 for...
  16. mais123

    JS not unhiding asp.net control

    I have asp.net checkbox that I hide. There is another control that I attached onclick function that is supposed to unhide the checkbox. All is well and it seems that the function finds the checkbox OK but it stays hidden. No JS error is reported. What is wrong? Here is control <td><asp:checkbox...
  17. mais123

    HyperLinkField not executing code render block

    I have a GridView where I use HyperlinkField. The thing is I need to encrypt the userID I put into the query string so I am trying to call code render Encrypt function to encrypt. But the problem is that Encrypt never gets executed. What is wrong:. Here is my code: <asp:HyperLinkField...
  18. mais123

    Building dynamic SQL query

    Hi, I am trying to build a dynamic SQL query that does customer search. It accepts a bunch of parameters and dynamically creates select statement based on whether eaach parameter is null. So say I have this Create Procedure SearchCustomer ( @CustomerName varchar(50), @CustomerAddress...
  19. mais123

    Web Page design question

    Hi, I have an aspx form for a company information. In that form user should be able to add multiple users. So user info section should have Add button where a new User section will appear when the button is clicked. So I basically need to show a new section for User Info each time they click Add...
  20. mais123

    Profile object does not have stronly types properties

    Hi, I am trying to use personalization, but in my code file Profile object does not have stronly typed properties I have defined in web.config. Here is how I set up my web.config: <profile defaultProvider="CustomProfileProvider"> <providers> <add name="CustomProfileProvider"...

Part and Inventory Search

Back
Top