|
Rizvi Malik wrote: MyBar:ucMenu ID="UcMenu1" runat="server" />
and in code behind
protected ucMenu MyBar = new ucMenu();
Ah yes, now I look at your sample code again and see the cause: You declare the control in the web page with the id UcMenu1 , meanwhile you declare a new instance MyBar in code-behind, and I guess that you set the property of the second instance other than the first one. In this case, you can declare the control in code-behind like this: (in the version 2.0, you no need to this):
protected ucMenu UcMenu1;
|
|
|
|
|
Thanx alot minhpc_bk .. so nice of you ..
R A M
|
|
|
|
|
Good day. How do i get the data from the database and display in textbox or label. i'm using the asp.net (VB script) to develop the page. Do anyone can help me to solve the problem? Thanks.
Best Regards,
Pei Sun
|
|
|
|
|
I would suggest going to MSDN and working through some of the asp.net tutorials. Asp.net also does not use VB script directly - maybe you mean VB.net.
|
|
|
|
|
Thanks.
Best Regards,
Pei Sun
|
|
|
|
|
Good Day. I have a problem in select the record in the datagrid using radio button. My problem is i have a datagrid with radio button. How can i select one record at a time when click on the radio button? Anyone can give me an example or sample guidelines? Thanks.
Best Regards,
Pei Sun
|
|
|
|
|
you can check this site. this is having so many examples(links) on datagrid. It will be helpfull for you.
http://www.datagridgirl.com/articles.aspx
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks.. I will check it out! Have a nice day.
Best Regards,
Pei Sun
|
|
|
|
|
|
Hi, can someone help me how to open an asp page using the flash getURL property pls?? because it aint opening the page! help me pls!!!
Adrian De Battista: .Net Programmer, Java Programmer and Web Designer.
|
|
|
|
|
Hi all
i need to validate the textboxes those are in datagrid.can any one please help me. Thanks alot in advance
Thanks and Regards
Venkat
|
|
|
|
|
You can use asp.net validator controls and also you can use your own javascript to validate the text boxes in the datagrid. If you are using your own javascript then you have to call the javascript function on the click of the submit button and that you can attach in OnItemDataBound event of the datagrid.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks for your valuable suggestion man. But how to get the names of the textboxes. i am not giving any textboxes in edit item template. default textboxes those are predefined i am using. can you please tell me the solution for this. Thanks alot in advance.
Thanks and Regards
Venkat
|
|
|
|
|
you can access that textbox by something like Cells[1].Controls[1] and pass the ID to the javascript function.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanks alot man. i will keep in touch with you so that if i got any doubts not only in this, i will let you know.
Thanks and Regards
Venkat
|
|
|
|
|
Sure always welcome.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I've to use web parts in my project and want to store all the values in my own database with own created table. Is there any way to do so. Thanks in advance.
my email id: sanjay@promactinfo.co.in
|
|
|
|
|
Hello sanjay,
This is not possible to store the web parts personalization information in other tables. However you can add the existing ASPNETDB to your database. Personalization information will be automatically stored in the respective table.
|
|
|
|
|
How to Run methods exported by ActiveX Component using JavaScript?
If the ActiveX control is exporting a method, how to invoke it from JavaScript.
|
|
|
|
|
If i call the Web Service from the same server which i hosted,it's working fine.If i try to call the web service from another server i get the following error.
Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\39_bmero.0.cs' could not be found.
error CS2008: No inputs specified.
Kindly help me....
Sathiyaraj Ganesan
sathiya
|
|
|
|
|
hello..
i hav thumb images in repeater control.
i hav one image control too which will contain the corresponding large image.
how to get large image in image control from database on mouseover event on reapeater control.
thanx
|
|
|
|
|
I'm a beginer to ASP.net. I have a question.
I want to let the width of a 'td' fixed, and the text in 'td' wrapped if it is too long.
Can anyone help me?
Thanks!
|
|
|
|
|
Set the width property of td = 150px or any width you want to set.
Also set the nowrap property to true.
Do good and have good.
|
|
|
|
|
I had a snitz forum source code using asp now I want snitz foruman Asp.net using C# 2.0.
hai
|
|
|
|
|
Good for you. did you have a question?
|
|
|
|