Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Datagrid question


Message #1 by "McCloy, Russell" <Russell.McCloy@B...> on Fri, 8 Feb 2002 09:15:58 +1100
Hello All,

 

I have a datagrid issue.

I have built a datagrid and it works great.

When I open a row for editing I get big ugly text boxes that push my page

horizontally  and 

make it look like crap!

 

Does anyone know how to add style attributes to edit items such as text

boxes?

 

 

 

Thanks



RuSs



 

Baker and McKenzie



-----Original Message-----

From: McCloy, Russell 

Sent: Friday, 8 February 2002 7:44 AM

To: 'ASP+'

Subject: RE: [aspx] Re: Multi-page registration form... suggestions?





Isn't there a better way?

These two ways are the only ways I can think of.



RuSs





-----Original Message-----

From: Garland Frye [mailto:gfrye@s...]

Sent: Friday, 8 February 2002 6:21 AM

To: ASP+

Subject: [aspx] Re: Multi-page registration form... suggestions?





Two ways that I can think of...



1. Before you leave a form store the values in a session variable

(c# Session[FormData] = SomeValue)



2. Add the values to the address as parameters



private sub btnNext_Click(object sender, System.EventArgs e)

{

    Response.Redirect("NextForm.aspx?" + "VARIABLE=" + MyVar.ToString()

}



once you are on the next page you can say...

Page_Load(object sender, System.EventArgs e)

{

    string sVar

    sVar = Request.QueryString("VARIABLE")

}



and there you have it...

"Alvin Ling" <alvin.ling@i...> wrote in message

news:143995@a...

>

> I have a multi-page registration form (user steps through 5 pages) to

> create an account.  In classic ASP, values were passed and retrieved

> using Response.Form.  With the preferred .Net method of posting back,

> what would be the best way to accomplish this?

>

> Creating a single large registration form isn't an option since form

> elements on certain steps depend on values chosen in prior steps.

>

>

> Alvin

>

>

>

>

>

>











  Return to Index