Click here to Skip to main content
15,899,679 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionEnabling edit mode on nested datalist (Problem) Pin
ElCortez21-Nov-07 12:28
ElCortez21-Nov-07 12:28 
QuestionHow do a call a local dll from Asp.net Pin
colmanwel21-Nov-07 11:59
colmanwel21-Nov-07 11:59 
AnswerRe: How do a call a local dll from Asp.net Pin
Michael Sync21-Nov-07 15:29
Michael Sync21-Nov-07 15:29 
QuestionCan I set a field Value in a loading ASPX page? Pin
IssamK21-Nov-07 10:42
professionalIssamK21-Nov-07 10:42 
AnswerRe: Can I set a field Value in a loading ASPX page? Pin
SABhatti21-Nov-07 11:00
SABhatti21-Nov-07 11:00 
AnswerRe: Can I set a field Value in a loading ASPX page? Pin
pmarfleet21-Nov-07 11:02
pmarfleet21-Nov-07 11:02 
GeneralRe: Can I set a field Value in a loading ASPX page? Pin
IssamK21-Nov-07 11:12
professionalIssamK21-Nov-07 11:12 
AnswerRe: Can I set a field Value in a loading ASPX page? Pin
SABhatti21-Nov-07 12:51
SABhatti21-Nov-07 12:51 
here is the straight forward code.

in transaction.aspx add a button like:
<br />
<asp:button id="btn" runat="server" onclick="redirectToPoints" text="Open Points Page" /><br />


in code behind file for transaction.aspx.cs do this:

<br />
protected void redirectToPoints(object sender, EventArgs e)<br />
{<br />
Session["tranAmount"] = youramount;//may be from the amount text box -- you know better<br />
Response.Redirect("points.aspx",true);<br />
}<br />


in PageLoad function in code behind file for points.aspx.cs do this:

<br />
protected void PageLoad(object sender, EventArgs e)<br />
{<br />
if(!IsPostBack)<br />
{<br />
textboxPoints.Text = Session["tranAmount"].ToString(); <br />
}<br />
}<br />



-----

Questionhow to display table column data are starting letter in capital letter Pin
Murugan.nett21-Nov-07 8:22
Murugan.nett21-Nov-07 8:22 
AnswerRe: how to display table column data are starting letter in capital letter Pin
SABhatti21-Nov-07 8:51
SABhatti21-Nov-07 8:51 
AnswerRe: how to display table column data are starting letter in capital letter Pin
Frank Kerrigan21-Nov-07 10:07
Frank Kerrigan21-Nov-07 10:07 
AnswerRe: how to display table column data are starting letter in capital letter Pin
IssamK21-Nov-07 10:56
professionalIssamK21-Nov-07 10:56 
QuestionDatabind Image control inside a repeater Pin
Paul McGann21-Nov-07 7:08
professionalPaul McGann21-Nov-07 7:08 
AnswerRe: Databind Image control inside a repeater Pin
SABhatti21-Nov-07 8:13
SABhatti21-Nov-07 8:13 
QuestionToo many literals in the string.. Pin
Ibuprofen21-Nov-07 5:07
Ibuprofen21-Nov-07 5:07 
AnswerRe: Too many literals in the string.. Pin
Pete O'Hanlon21-Nov-07 5:09
mvePete O'Hanlon21-Nov-07 5:09 
GeneralRe: Too many literals in the string.. Pin
Ibuprofen21-Nov-07 5:13
Ibuprofen21-Nov-07 5:13 
GeneralRe: Too many literals in the string.. Pin
Pete O'Hanlon21-Nov-07 9:25
mvePete O'Hanlon21-Nov-07 9:25 
GeneralRe: Too many literals in the string.. Pin
Ibuprofen21-Nov-07 9:36
Ibuprofen21-Nov-07 9:36 
GeneralRe: Too many literals in the string.. Pin
Not Active21-Nov-07 10:17
mentorNot Active21-Nov-07 10:17 
GeneralRe: Too many literals in the string.. Pin
Colin Angus Mackay21-Nov-07 10:24
Colin Angus Mackay21-Nov-07 10:24 
AnswerRe: Too many literals in the string.. Pin
J$21-Nov-07 9:51
J$21-Nov-07 9:51 
AnswerRe: Too many literals in the string.. Pin
Not Active21-Nov-07 10:19
mentorNot Active21-Nov-07 10:19 
Questioncontrols in collections Pin
filinM21-Nov-07 4:08
filinM21-Nov-07 4:08 
AnswerRe: controls in collections Pin
szukuro21-Nov-07 4:42
szukuro21-Nov-07 4:42 

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.