|
krishnavaradharajan wrote: Response.Redirect("product1.aspx? companyname ='+ txt1 +")
In the receiving end i have given like this code, the page was redirecting but not the value
lbl1.Text= Request.QueryString["ID"];
"ID" is nothing
use.
lbl1.Text= Request.QueryString["companyname"];
|
|
|
|
|
Iam getting the same result.....
krishna
|
|
|
|
|
Hi,
Hope every one is fine. i am developing site in ASP.NET and C# 2005. i am facing problem in refreshing gridview data and custum paging/sorting in gridview control. initially on page load i am populating gridview by passing SelectQuery in it, its working fine but when user selects some parameters and refreshes the gridview it displays the old data and paging and sorting also stops working.
Any kind of help is appriciated...Thanks
Regards,
Affan Ahmad Toor
..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
|
SreejithAchutan wrote: plz send the source code for msg sending using c#
No one will send you the code. If you have any problem then can ask it, u will get the sollution !! . But no one will send you the code.
Check This
sending message in network using C#[^]
|
|
|
|
|
i have developed the site in ASP.NET now i want to deploy it. i have tried the help available on net but it is not working . plz provide me step by step guidelines so that i will be able to upload my website at server.
regards
i m Chan Naseeb from Pakistan
|
|
|
|
|
Hi,
You have build a website, now you need to deploy it in IIS
Step1 : Install IIS in your System if it is not in your system.
Step2 : Right click on My Computer > Manage > Services & Application > IIS > Default Website
Step3 : Right Click > New > Virtual Directory
Give Virtual Dir name > Next > Browse your Webfolder path
Step4 : Select Browse and Read Check box
Step 5 : Finished
Stpe 6 : check a Virtual Dir are created.
Right click on it > Properties > Documents > Click on ADD
Give your deafult page name [first page e,g index.aspx]
step 7 : Move to asp.net Version Tab >select lates asp.net version
Step 8 : Click on Apply > OK > Close IIS
Step 9 : Start > Run > iisrest ''Restart your iis
Step 10 : opem IE
http:\\Localhost\yourvdir\login.aspx
Step11 : Your page will come
That's All
LEt me know when done
|
|
|
|
|
Not working.
i have applied all the procedure but after creation it did not worked.
i m Chan Naseeb from Pakistan
|
|
|
|
|
what error your are getting ? can you explain in details then i can help you.?
|
|
|
|
|
This forum is for ASP.NET questions. You should ask this question in the Web Development forum.
Paul Marfleet
|
|
|
|
|
First off, my apologies for my poor english.
I've already looked everywhere to find this piece of info by myself, now I humbly come in seek of help from the gurus on this board - please help this lowly desperate developer
The million-dollar question is: is it possible to display in a page (with Response.Write() for instance) the original HTTP get/post command the browser used to open it?
For example, if I connect to my local server via telnet and issue a "GET /default.aspx" command, I need the page to output this exact command so that the end user can see what was requested.
Thanks a lot in advance!
Unix is user-friendly. It's just picky about its friends!
|
|
|
|
|
The HttpMethod and RequestType properties of the Request object will tell you what HTTP verb was used to make the request. You can get the request URL by querying the Url property of the Request object.
Paul Marfleet
|
|
|
|
|
Thanks for the quick reply on this, but that's not exactly what I'm looking for. Here's what I'm trying to accomplish:
When the user reaches the default document on my website (default.aspx), I need to detect whether he used just the domain name (e.g. www.mysite.com) or if he also included the name of the file (e.g. www.mysite.com/default.aspx). I've been digging so deep into this I got bits stuck under my nails, and this is really the only way I could think of accomplishing this task. I am wide open for suggestions though - in fact, they will be much appreciated.
|
|
|
|
|
Try to print Request.RawUrl , I guess this will give the URL visible on the address bar.
Andre Luiz V Sanches wrote: I need to detect whether he used just the domain name (e.g. www.mysite.com) or if he also included the name of the file (e.g. www.mysite.com/default.aspx)
This looks strange, why do you want to do this ?
|
|
|
|
|
No luck, Request.RawUrl will print out the page name even if the user did not explicitly typed it in.
N a v a n e e t h wrote: This looks strange, why do you want to do this ?
it's a request from the SEO expert who's working with us.
I wonder if there are any low-level IIS API calls I could use from within .NET to capture the exact HTTP command that was sent to the server. Any ideas?
|
|
|
|
|
Hi,
I am about to write a web application based on a MSSQL2005 database.
It will start with a login and my own membership class. (using VS2005 login control, works already)
When logging in several rights might be assigned to a user such as allowing him to create items and subitems or not.
Now my question is, how do I pass these rights to another page? Is it wise to use for every right (e.g. create part number (yes/no); create failure(yes/no); create corrective action (yes/no)) a session variable or is there another way ?
Is there any way to forward variables or even classes as (e.g.)User (User.CreateRootCause = true; ) or maybe in an array ?
Thanks in advance!
daple
Never give up, never surrender !
|
|
|
|
|
You are going to put something in the session. What that is, is up to you. Ideally, I'd put an array of ids that represent roles, and then do role based security through the site.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
How can I create a row in unbound gridview that the content is a hyperlink? (I don't want to bind gridview to DB) (yeah it's not logical, but I want to do it!)
Best wishes
|
|
|
|
|
I'm trying to change the file permissions of one of my .aspx files to include only one group (of which I am a member). However, when I try and authenticate, it tells me my credentials are invalid. If I do this with any other type of file (eg. html), it works, pops up the authentication box, I enter my password, page is displayed. Only happens with .aspx I'm stumped. :/
|
|
|
|
|
Is there a way to overcome the
"The state information is invalid for this page or might be corrupted."
error in firefox
Bye
|
|
|
|
|
Doses it happens every time Accsessing or Postback?
Have you tried Internet Explorer?
|
|
|
|
|
occurs when i do postbacks. I wait until the page is loaded but when i do it time and again i get it in firefox.
I have to fix this error for firefox.
Bye
|
|
|
|
|
Try to disable viewstate for each control and se if it is any better. Did you used Windows Update and updated your .net platform?
|
|
|
|
|
Hi,
.NET 1.1 Question:
I have httpModule that implements IHttpModule in order to rewrite url´s. I need to store a value or in some way maintain a value between different http requests. I have been trying to accomplish this by implementing the IRequiresSessionState interface and with numerous event handlers. Is there anyone who know how to deal with this issue or can push me in the right direction?
Thanks in advance
Regards
/Rip
|
|
|
|
|
HttpContext.Current.Session? HttpContext.Current.Cache?
Jon Sagara
Once again, the conservative sandwich-heavy portfolio pays off for the hungry investor! *slurp* Oh, I'm ruined!
-- Dr. Zoidberg
.NET Blog | Personal Blog | Articles
|
|
|
|