|
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..
Thanks in advance
Selvaraj S.Kaliyappan.
|
|
|
|
|
have you tried the javascript for this. You can call javascript function on change of the dropdowlist and there in that function you can check for the dropdownlist value and do the oprations.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
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.
Any help?!
|
|
|
|
|
Hi,
Request.QueryString[keyword] will help you to reading the keywords.
|
|
|
|
|
psamy wrote: Request.QueryString[keyword]
Is this client side or server code?
|
|
|
|
|
server side code.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Alrite I still am confused!
i need to customize my application to parse the URL for a specific keyword.
The portal would redirect the user to my application, now how would I use the Request.QueryString property here!?
|
|
|
|
|
suppose in url you the ID=100 appended in it.
What you need to do is if you want to get the value is:
This you can put in the page load event of the web page.
string strID = Request.QueryString["ID"].ToString();
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi all,
i've a page with some ImageButtons and by clicking on it a popup is opened via javascript with the zoomed image.
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 ?
sry for my english.
Tnx All.
Nuaz
|
|
|
|
|
|
Hi,
use this code,
imgbtn1.Attributes.Add("onclick","zoomImage();return;");
return; doesn't allow the postback.
|
|
|
|
|
|
It is strange that the imagebutton doesn't have an autopostback property - like the textbox, which on setting "true" doesn't reload the page.
|
|
|
|
|
Hi all,
i want to create custom textbox in Asp.net., inherit from Webcontrol
if any good resource greatly appreciated.
|
|
|
|
|
|
hi all,
how can i stop this from being rendered in my opening tag, as i am ralying on an embedded style sheet to style my control and it is being overriden by the inline styles that have not even been set.
that is, if no styles are set this is what the opening tag looks like
<br />
<table class="MessageBox" cellspacing="0" cellpadding="0" border="0" style="border-color:White;border-width:0px;border-style:None;border-collapse:collapse;"><br />
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.
any ideas please?
kind regards,
g00fy
|
|
|
|
|
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.
|
|
|
|
|
thanx for the tip man, but it was my custom table control. I was usign a constructor that rendered those styles if none were input.
regards,
g00fy
|
|
|
|
|
Hi All,
I wanna know if i have to change or to add some code to my project soi it can be viewed correctly on different browsers (IE,firefox,MacOs..).
We Know By Sharing
We Live By Sharing
|
|
|
|
|
Perhaps.
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
|
Hi,
I want to apply style(e.g. class) to an HTML anchor tag in the code-behind asp.net page. How can this be done?
Thanx in advance,
Siddharth P
|
|
|
|
|
Hi,
use this.
if (!this.Page.IsClientScriptBlockRegistered("Style"))
this.Page.RegisterClientScriptBlock("Style", "");
|
|
|
|
|
I am looking for a few references on how to implement some basic client scripting for the treeview. All I really need to do is set the checked state of all client nodes to be the same as that of the highest parent clicked. There is the server side function which won't execute until postback. I would really like this to be on the client side. Thanks for any info.
|
|
|
|
|
I have seen that many forums are created in php or cgi. not many are on asp.net.
So i want to know is there any forum template to design a forum.
or in simple form.
How can i design a forum in asp.net 2.0
thanx.
-- modified at 5:47 Friday 7th July, 2006
|
|
|
|