It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I would like to display the current URL the user is on, and append characters to the end of it.
So if the site they were on was google.com it would display google.com/plus.
The trouble is I would like to do it from a master page so I'm not going to know which URL they are on.
Any assistance is greatly appreciated.
Thank you!
You can use Uri.GetLeftPart Method
For example,
string authority = Request.Url.GetLeftPart(UriPartial.Scheme)
string newUrl = authority + "/plus";
using Request.Url you can know the current url the user requested.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to create one Online Exam System where student can attend Exam and there will be options below(in radiobutton) which he/she can choose as answer by using Asp .Net. In this process, Next and Previous should be worked properly. Please suggest me some idea or Code in this Reference.
Thanks..
Following are links from where you can get ideas for Online exam system.
http://onlineexam.codeplex.com/\
http://ooes.codeplex.com/
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am newbie from asp.net
i wanted to asked how the data grid view that i have already insert in database?
the view like this
Before
After
Thank for help.
well the question is certainly not clear but i guess u want to write values to your checkbox which are coming from database add following to your checkbox. It should help
checked='<%#Eval("YourCheckboxValueColumnName")%>'
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how would i be able to achive something like php's
if($_SERVER['REQUEST_METHOD'] != 'POST')
using vb.net - im trying to prevent people from accessing a webpage unless they are directed there by a form post.
Thank you
The HttpRequest object has a HttpMethod property which would indicate this. This object can be accessed by the Request property available on the base Page class (so from any page).
It's worth noting that this isn't a way to "secure" a page. Anybody can make a POST request, they don't need to have been "directed there by a form."
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
We have a static website in asp.net with about 50 pages and need to implement a site search. Any suggestions/links will be appreciated.
Thanks,
K
If you're looking for a quick way to get search functionality into your pre-existing, static, site, google site search would be a very simple route to go.
This link might help you.http://www.codeproject.com/KB/applications/SearchDotnet.aspx or you can can use sitesearch component for asp.net sites
http://www.sitesearchasp.net/
http://www.asp.net/community/control-gallery/browse.aspx?category=45
I add one more suggestion here.
The UltimateSearch from Karamasoft, that is a commercial product, but you avoid the advertise and have more control over.
http://www.karamasoft.com/UltimateSearch/Features.aspx
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
how can i fetch the yahoo contacts in asp.net any source code or any reference.
Yahoo's full .net specific documentation for this stuff can be found at http://developer.yahoo.com/dotnet/
The Yahoo Contacts API
One way is to use YQL - this is a webservice, so you can simply access it as such.
OR
Read http://developer.yahoo.com/social/contacts/ and Use WebClient in ASP.NET.
You can take idea how to use API from here.