Click here to Skip to main content
15,914,160 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to detect browser-close (X) event in ASP.net Pin
Rajesh_K_Sharma4-May-06 8:17
Rajesh_K_Sharma4-May-06 8:17 
AnswerRe: How to detect browser-close (X) event in ASP.net Pin
minhpc_bk4-May-06 17:51
minhpc_bk4-May-06 17:51 
QuestionFree ASP hosts needed Pin
ISIS554-May-06 8:13
ISIS554-May-06 8:13 
AnswerRe: Free ASP hosts needed Pin
Neeraj Arora4-May-06 20:49
Neeraj Arora4-May-06 20:49 
GeneralRe: Free ASP hosts needed Pin
ISIS554-May-06 22:44
ISIS554-May-06 22:44 
Questioncheckbox control and rowID Pin
karinb4-May-06 5:43
karinb4-May-06 5:43 
AnswerRe: checkbox control and rowID Pin
Paddy Boyd4-May-06 5:54
Paddy Boyd4-May-06 5:54 
AnswerRe: checkbox control and rowID Pin
MontenegroATL4-May-06 8:29
MontenegroATL4-May-06 8:29 
From viewing page you can use code similar to this

Dim trans_id As Integer
Dim dgrCode As Label = E.Item.FindControl("lblCode")
trans_id = CType(dgrCode.Text, Integer)
Server.Transfer("EditList.aspx?&trans_id=" + trans_id.ToString(), True)

which does this: reads value from control named lblCode.
Since I needed to transfer this value to next page as integer, I casted it.
Last line of code redirects user to "edit list" page along with value from the control

In Edit List page under Page Load or somwhere else have line similar to this.

lblTest.Text = Request.Params.Get("trans_id")

What this does: it reads a parameter sent from viewing page and assign its value to text box.

I hope this gives you the general idea

Srdjan

GeneralRe: checkbox control and rowID Pin
karinb9-May-06 8:58
karinb9-May-06 8:58 
QuestionFREE !!!! ASP.NET Resources Pin
dotnetguide4-May-06 5:06
dotnetguide4-May-06 5:06 
AnswerRe: FREE !!!! ASP.NET Resources Pin
Guffa4-May-06 6:23
Guffa4-May-06 6:23 
QuestionHelp me..with this message..The server viewstate cache has timed out Pin
jorgeils4-May-06 4:04
jorgeils4-May-06 4:04 
QuestionUsing CommandArgument inside a DataList geeks out Pin
Ista4-May-06 3:47
Ista4-May-06 3:47 
AnswerRe: Using CommandArgument inside a DataList geeks out Pin
minhpc_bk4-May-06 16:06
minhpc_bk4-May-06 16:06 
GeneralRe: Using CommandArgument inside a DataList geeks out Pin
Ista4-May-06 16:29
Ista4-May-06 16:29 
GeneralRe: Using CommandArgument inside a DataList geeks out Pin
minhpc_bk4-May-06 16:50
minhpc_bk4-May-06 16:50 
GeneralRe: Using CommandArgument inside a DataList geeks out Pin
Ista5-May-06 4:05
Ista5-May-06 4:05 
GeneralRe: Using CommandArgument inside a DataList geeks out Pin
Ista5-May-06 4:26
Ista5-May-06 4:26 
QuestionPrivilages of clients to copy files on a server Pin
haneen19844-May-06 3:28
haneen19844-May-06 3:28 
QuestionProcessing Webpages on different Web Server Pin
rohan19814-May-06 3:24
rohan19814-May-06 3:24 
QuestionProblem with my web site. Pin
Suj_784-May-06 3:13
Suj_784-May-06 3:13 
AnswerRe: Problem with my web site. Pin
Paddy Boyd4-May-06 3:48
Paddy Boyd4-May-06 3:48 
AnswerRe: Problem with my web site. Pin
RichardGrimmer4-May-06 5:57
RichardGrimmer4-May-06 5:57 
AnswerRe: Problem with my web site. Pin
Dipan Patel From Gandhinagar6-May-06 2:53
Dipan Patel From Gandhinagar6-May-06 2:53 
QuestionGetting around virtual directories? Pin
scott987uk4-May-06 3:11
scott987uk4-May-06 3:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.