|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How to diisable textbox in datagridHi
I have a listbox outside the grid and textbox type template as editable column in datagrid. How can I disable textbox in my grid based on the selection from the listbox outside the grid? -- You can get the grid valriable, find the row you want to work with and then
call FindControl() passing the ID of the TextBox inside the template for your Grid. This will return the TextBox contorl that you can set any of its properties. If you want to do this for all TextBoxes in the grid, loop over every row and repeat the process. -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > Hi > > I have a listbox outside the grid and textbox type template as > editable column in datagrid. > > How can I disable textbox in my grid based on the selection from the > listbox outside the grid? >
ASP.NET absolute path to file
ascx event to parent aspx: howto ? howto: bubble-up events Problems with HTMLInputFile Control HTMLInputFile Control for Multiple Files Submit form Infragistics Web Control Accessing multiple instances of a control on a form Microsoft.Web.UI.WebControls DropDownList in composite control not saving ListItems |
|||||||||||||||||||||||