|
I have a usercontrol called tabcontrol.ascx. I'm calling this control in master page and I'm referring the master pages in content pages. In one of the content pages I need to disable or make invisible the tabcontrols. Is it possible to do so? If so, how? Any links or URL's is fine. Please help.
I'm using ASP.Net 2.0.
Thank you.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
TabControl t= Page.MasterPage.FindControl(["ID TabControl"]) as TabControl
t.visibale=[true,false];s
twetwetwersdfdsfdsfdsfdsf
|
|
|
|
|
i want to design a page at design time i want two radiobutton in a row .when run the page all the button comes in a column .
as i want
male female
but coming
male
female
plz tell me .
|
|
|
|
|
Im not sure I really understand you.
To put it in the format above just use a table
|
|
|
|
|
|
<asp:RadioButtonList ID="RadioButtonList1" runat="server">
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:RadioButtonList>
Run this code..
it will help u.....
|
|
|
|
|
Hi,
I have created a web service with one method called SendTestMeail. Method has one parameter call comment type string.
When i call this method through the URL with Query string Like:
incase of English text :
http://localhost/WebServices/MailSender.asmx/SendTestMeail?comments=testing by parwej
it is working file
But, In case of Cyrillic Char (Unicode)
http://localhost/WebServices/MailSender.asmx/SendTestMeail?comments=К Л М Н О П Р С Т
It is showing "?" marks for all Cyrillic characters on server side.
Please sugges me how can i pass unicode in query string whin i call a web service method.
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
How to display multiple images in asp.net while using MS-Access as a database.actully I stored the local path like "..\img\abc.jpg" in my data base and took the data field as text. I want to display images in matrix format with some discription.
so please help me how I can do this I will be very thankful to all.
Please reply with some code.
I am waiting for answer.
thank you.
nilesh kumar saraf
modified on Tuesday, July 29, 2008 7:13 AM
|
|
|
|
|
I have got one project in ASP.Net when try to open it it gives me an error saying "This project is not supported by this installation" I have VS 2005 installed in my Computer.
|
|
|
|
|
|
hi all,
can anyone tell how can I use sql server assemblies.
I m trying to import Microsoft.SqlServer.smo.
tried registering it using regsvr32 but it failed.
I want to use datatype using this namespace.
Vijay V.
Yash Softech
|
|
|
|
|
Is it a COM dll ? If not, why did you try to register it ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I m not sure of that.
I saw an example using the name space so tried to use it in my application.
Vijay V.
Yash Softech
|
|
|
|
|
Explain in detail, what exactly u want to do
Chanu
|
|
|
|
|
check out this
bluenile.com
search techinqe is needed for diamond search and need to upload the .csv fie to sql server database.
Vijay V.
Yash Softech
|
|
|
|
|
Hi all,Am connecting msmq remotely on other computer,But i want the connection format.
Already i tried for thiese formats,but they are not working.
if (MessageQueue.Exists(@"FormatName:DIRECT=TCP:192.168.1.210\Private$\remotea"))
it is showing this errors
"Cannot determine whether a queue with the specified format name exists."
Please give me correct working format.i need it very fast.Please react very quickly
Thank u in advance
|
|
|
|
|
hi every one
actually i am using usercontol to save the picture in a folder by using some condition .images stored properly in a folder. i am using session to pass the name of the image at page 3 .but the value of the image does not come correct .session value does not come at page 3.
this is my code:
protected void Page_Load(object sender, EventArgs e)
{
if (Convert.ToInt32(Session["child"]) <= 4)
{
Session["p1"] = ctcchild1.pic;
}
}
protected void Button2_Click(object sender, EventArgs e)
{
Server.Transfer("default3.aspx");
}
ctcindia1 is the name of the usercontrol
by using this code but when button click to go to page 3 .the values of the sesson["p1"] expire.
i think there is some error between postback the page.
plz suggest me.
thanks...gaurav
|
|
|
|
|
Where do you set the session?
Post the code where you set the session
|
|
|
|
|
thanks for the reponse
i am calling session at page 3 by using this code;
Image1.ImageUrl = "C:\\image\\" + Session["p1"].ToString();
plz suggest me.
thanks
|
|
|
|
|
Step through your code, put a break point anywhere that Session["p1"] is set. Where you set it is irrelevant, it's visible to your whole app.
Hard coding session strings is a nightmare, they should be in a static class.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: Where you set it is irrelevant
I wouldn't say it is completly irrelevant
|
|
|
|
|
Well, so long as it's being set, it kind of is, the session is an app wide value.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
thanks for the respones
plz send me some code
thanks
|
|
|
|
|
gaurav mangal wrote: plz send me some code
ROTFL. Brilliant. Someone shoot me.
Read my response again. Do what I suggested. Get back to me when you have something to report based on your doing something yourself. There is no code to solve your issue.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
if(user != programmer)
{
Label1.Text = "No help will be given!"
}
|
|
|
|