|
sir sorry i didn,t get u where i should check that one plz
|
|
|
|
|
|
i completed an application using file system as lcation .the application is working fine with file system. but when iam running the application in the iis . every time i have to refresh the page to update a value in aspx page .how it can be solved.plz give the code for no to post back the page.
|
|
|
|
|
thanks u sir u have a great knowledge thansk al lot
|
|
|
|
|
Vanamaindia wrote: i completed an application using file system as lcation .the application is working fine with file system. but when iam running the application in the iis . every time i have to refresh the page to update a value in aspx page .how it can be solved.plz give the code for no to post back the page.
Great job. Keep it up. ;P
|
|
|
|
|
The page has to be redirect from, html code which i have given below
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"];
krishna
|
|
|
|
|
As for as i understand, your problem is that you are sending 'companyname' as querystring variable and receiving 'ID' which is wrong. you should do following at receiving end:
lbl1.Text = Request.QueryString["companyname"];
hope it solves your problem.
Regards,
Affan Ahmad Toor
..................
QUAIDIAN FOR ONCE, QUAIDIAN FOR EVER!
|
|
|
|
|
Iam getting the same result..
krishna
|
|
|
|
|
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 )
|
|
|
|