CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Current Page Number as parameter [C# ASP.NET]

Print topic Send  topic

Author Message
Bo Ugljesic
Posted: 08/07/2002, 11:19 AM

How can the page number be sent through a link. What would be the source
type and parameter source in the link parameter dialog box. The grid name
is MATERIAL1.

I tried:

Various Source types

Parameter Source:

Page
PageNumber
MATERIAL1PageNumber
MATERIAL1Page
MATERIAL1.PageNumber
MATERIAL1.Page
MATERIAL1.Navigator.PageNumber
MATERIAL1.Navigator.Page



The parameter name is sent to the edit page but is blank ( grdPageN=)

Thanks,
Bo
Nicole
Posted: 08/08/2002, 2:38 AM

Bo,
to include page number into list of the output parameters of link field, open Href Source dialog for it and add new parameter with the settings like:
SourceType: Expression
Parameter Source: PageNumber
Parameter Name: formnamePage
Bo Ugljesic
Posted: 08/08/2002, 4:46 AM

Hello Nicole,

Thanks for the response, you put me on the right track. It didn't take PageNumber gave ma a compile error. Here is what made it work.

Source Type: Expression
Parameter Source: MATERIAL1Data.PageNumber
Parameter Name: MATERIAL1Page

The Parameter Name has to be gridname+page for it to return to the same page after post of the edit form.

Thanks again and have a great day!
Bo


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.