Hi folks. This is selvaraj.I have a Datagrid ItemTemplate with DropDownList and also have an another ItemTemplates called HtmlInputText control.Initially the HtmlInputText control is disabled=true in all DataGrid rows.My requirement is when I going to be choosed the DropDownList value 5,that time only i need to disabled=false the HtmlInputText control. If any know about my issues please give some idea or code to me..
Have an application that can be accessed through a portal. Now the application is to be customised for certain keywords that would be sent encased in the URL directed to this application.
Am confused as how to read this URL and extract the keyword in the application.
My prob is:
is there a way to disable imagebutton postback in order to execute only the clientside script when i click on the imagebutton, without reload the main page ?
how can i remove all style attribs unless the style collection has a count > 0. I have overriden the renderbegintag of the table i am using and i cannot access the style tags, it is being rendered by the writer but i dont want to override the HtmlTextWriter just to remove these aqttributes.
I have no idea about what your custom control looks like, so you might consider the AddAttributesToRender method as well. Does stuff get rendered depending on the client browser being used? or It always does this? I'm not sure what you mean by overriding the HtmlTextWriter, but you can override the Render method, uses another writer object internall inside in the control to render the control, and after you manage to remove the style attributes, you can send the result markup to the current writer object passed in as the method parameter.
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-23 14:03