Lets say I have
Response.Write("<script> var nm =document.ContactForm.Name.value;</script>");
Is there a way to store nm in a C# string variable.
string name = nm;
Please suggest
Thank you for your replay.
This is no problem. I just want to replace the hard coded title, description, siteLink with the C# string variables.
I tried this:
location.href='http://localhost/CreateSite/default.aspx?&SiteLink='\"+link+\"'&Title='\"+title+\"'&Description='\"+desc+\"' ;
didn't work.
I want to pass c# variable in the url
For example :
string title = "Google";
string link = "http://www.google.com";
string desc = "Google Search Engine";
Hard-Coded url
location.href='http://localhost/CreateSite/default.aspx?SiteLink=http://www.google.com&Title=Google&Description=Google...
I know this is not the correct forum but most people can answer my question .
I have a form that has three sections.
First section is fill by first person. Second section by second person and the third section by third person.
When the first person fills his section and clicks the first submit...
Hello Everyone,
I have a top portal, and few sites created under the portal. I want to share some announcement, news and events in these sites from the portal. So the sites, lets say Site1 will have shared(common) announcement from top portal and its own announcements.
Please provide me a...
i want to develop a date picker web part.
can anyone help me with the date time picker webpart like the one we have in the windows application Toolbox in .net.
please provide me some link or some hint regarding the date time picker.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.