Click here to Skip to main content
15,902,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Repetitive Rows of Controls Pin
freshonlineMax27-May-07 20:25
freshonlineMax27-May-07 20:25 
Questiontree component with multiple columns Pin
dannyyy27-May-07 11:03
dannyyy27-May-07 11:03 
QuestionHow do I add HTML dynamically in C# ASP? Pin
InvalidTypecast27-May-07 9:25
InvalidTypecast27-May-07 9:25 
AnswerRe: How do I add HTML dynamically in C# ASP? Pin
Christian Graus27-May-07 10:45
protectorChristian Graus27-May-07 10:45 
QuestionSoapException Pin
123456uio27-May-07 8:44
123456uio27-May-07 8:44 
QuestionPageChanged Event Handling with User Control Pin
Anees Mitha27-May-07 8:34
Anees Mitha27-May-07 8:34 
AnswerRe: PageChanged Event Handling with User Control Pin
Christian Graus27-May-07 10:49
protectorChristian Graus27-May-07 10:49 
GeneralRe: PageChanged Event Handling with User Control Pin
Anees Mitha27-May-07 17:23
Anees Mitha27-May-07 17:23 
Thanks Christian Graus for your reply, but may be i am not able to put up my question in the right way. So let me clear it out.
I am working on a project in which the user controls will be used as much as possible so that the end application developer will not have the problem to create the same control repetedly. Thats the reason we are creating DataGrid control in the User control so that the developer will just drag drop it and assign it the dataset/datatable from the BLL. Now the problem is Pagechange event is fired in the user control and the data is assigned in the BLL, so how can i call the BLL method in Pagechange event so that it can be fired in the user controls pagechange event after assigning the new page number. For e.g if i am not using user control then i can use the below code.

void PageIndexChanged(object sender, DataGridPageChangedEventArgs e)
{
DataGrid grid = (DataGrid) sender;
grid.CurrentPageIndex = e.NewPageIndex;

// Bind data and refresh
grid.DataSource = ...;
grid.DataBind();
}

In my case the event is fired in the user control but the last 2 lines of assigning the datasource and binding the data is not done in the event it is done in the BLL.

Let me know if further clarification is required.
Thanks

GeneralRe: PageChanged Event Handling with User Control Pin
Christian Graus27-May-07 17:36
protectorChristian Graus27-May-07 17:36 
Questionpicture in URL Pin
haytham_mohammad27-May-07 8:00
haytham_mohammad27-May-07 8:00 
AnswerRe: picture in URL Pin
Paul Conrad27-May-07 9:19
professionalPaul Conrad27-May-07 9:19 
QuestionHow to improve website ranking in Google Pin
rajesh22527-May-07 4:28
rajesh22527-May-07 4:28 
AnswerRe: How to improve website ranking in Google Pin
Sathesh Sakthivel27-May-07 4:43
Sathesh Sakthivel27-May-07 4:43 
GeneralRe: How to improve website ranking in Google Pin
Maor David27-May-07 10:38
Maor David27-May-07 10:38 
GeneralRe: How to improve website ranking in Google Pin
N a v a n e e t h27-May-07 21:16
N a v a n e e t h27-May-07 21:16 
AnswerRe: How to improve website ranking in Google Pin
N a v a n e e t h27-May-07 21:23
N a v a n e e t h27-May-07 21:23 
GeneralRe: How to improve website ranking in Google Pin
rajesh22528-May-07 3:26
rajesh22528-May-07 3:26 
QuestionHow do I pass a string from one aspx file to another? Pin
Ranger4927-May-07 3:55
Ranger4927-May-07 3:55 
AnswerRe: How do I pass a string from one aspx file to another? Pin
Dave Herren27-May-07 5:18
Dave Herren27-May-07 5:18 
GeneralRe: How do I pass a string from one aspx file to another? Pin
Ranger4927-May-07 7:45
Ranger4927-May-07 7:45 
GeneralRe: How do I pass a string from one aspx file to another? Pin
Ranger4927-May-07 8:38
Ranger4927-May-07 8:38 
GeneralRe: How do I pass a string from one aspx file to another? Pin
Dave Herren27-May-07 10:07
Dave Herren27-May-07 10:07 
GeneralRe: How do I pass a string from one aspx file to another? Pin
Ranger4927-May-07 10:19
Ranger4927-May-07 10:19 
GeneralRe: How do I pass a string from one aspx file to another? Pin
Ranger4927-May-07 10:31
Ranger4927-May-07 10:31 
Questioncouldnt fined "/scripts/myASP.asp" !!! Pin
sanaziuse27-May-07 2:39
sanaziuse27-May-07 2:39 

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.