Click here to Skip to main content
15,904,339 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSession Timeout - ASP.NET 2.0 Pin
seee sharp25-Aug-06 3:54
seee sharp25-Aug-06 3:54 
AnswerRe: Session Timeout - ASP.NET 2.0 Pin
minhpc_bk25-Aug-06 13:36
minhpc_bk25-Aug-06 13:36 
Questiondropdown binding Pin
bmadhura25-Aug-06 3:48
bmadhura25-Aug-06 3:48 
AnswerRe: dropdown binding Pin
Not Active25-Aug-06 4:17
mentorNot Active25-Aug-06 4:17 
AnswerRe: dropdown binding Pin
Coding C#25-Aug-06 4:44
Coding C#25-Aug-06 4:44 
QuestionProblem creating Repeater Template dynamically asp.net 2.0 [modified] Pin
Jay_se25-Aug-06 3:16
Jay_se25-Aug-06 3:16 
AnswerRe: Problem creating Repeater Template dynamically asp.net 2.0 Pin
playout25-Aug-06 10:30
playout25-Aug-06 10:30 
QuestionRe: Problem creating Repeater Template dynamically asp.net 2.0 Pin
Jay_se25-Aug-06 19:53
Jay_se25-Aug-06 19:53 
Thanks for your reply. But this is not, what i am expecting. I think, my question is not clear.

I wish to create the Repeater Control's Templates Dynamically using C# Class.
For that, u am using a class,

public class MyTemplates : System.Web.UI.ITemplate
{
public MyTemplates(template_type){ }

//Other code here.
}

This Class is Present in the Code Behind (.cs) of the Web (.aspx) Page.
Also this Template Class (mentioned above) is Present Inside of a Class which Inherits Page Class. I ve given the outline below.

public partial class ExampleClass: System.Web.UI.Page
{
Page_Load(object sender, EventArgs e) { }
static void Item_DataBinding(object sender, System.EventArgs e) { }

public class MyTemplates : System.Web.UI.ITemplate { }

}

This "Item_DataBinding" event handler is used by MyTemplates Class, Ok. But, this event handler is belongs to Page Class.

In this, if i take out the "MyTemplates" class and Put it as a seperate class, how can i make use of the "Item_DataBinding" event handler?. This is my doubt?

My AIM is to Create Dynamic Templates outside ( C# Class), and use that Template in my Web Page Code Behind class , and bind the values of the Controls in the Page using "Item_DataBinding" event handlder.

Any Suggestions ?

Regards,

Jay

Questionpassing com parameters Pin
V.25-Aug-06 2:14
professionalV.25-Aug-06 2:14 
AnswerRe: passing com parameters Pin
minhpc_bk25-Aug-06 13:33
minhpc_bk25-Aug-06 13:33 
GeneralRe: passing com parameters Pin
V.28-Aug-06 20:28
professionalV.28-Aug-06 20:28 
Questionwebmethod call with parameter xml Pin
A M SOMAN25-Aug-06 1:29
A M SOMAN25-Aug-06 1:29 
AnswerRe: webmethod call with parameter xml Pin
Sathesh Sakthivel25-Aug-06 1:37
Sathesh Sakthivel25-Aug-06 1:37 
GeneralRe: webmethod call with parameter xml Pin
A M SOMAN27-Aug-06 20:41
A M SOMAN27-Aug-06 20:41 
AnswerRe: webmethod call with parameter xml Pin
minhpc_bk25-Aug-06 13:31
minhpc_bk25-Aug-06 13:31 
GeneralRe: webmethod call with parameter xml [modified] Pin
A M SOMAN27-Aug-06 20:43
A M SOMAN27-Aug-06 20:43 
QuestionDeployment errors in asp.net Pin
Osada Wijekoon25-Aug-06 0:38
Osada Wijekoon25-Aug-06 0:38 
AnswerRe: Deployment errors in asp.net Pin
Mircea Grelus25-Aug-06 0:56
Mircea Grelus25-Aug-06 0:56 
AnswerRe: Deployment errors in asp.net Pin
Osada Wijekoon25-Aug-06 1:30
Osada Wijekoon25-Aug-06 1:30 
GeneralRe: Deployment errors in asp.net Pin
seee sharp25-Aug-06 1:42
seee sharp25-Aug-06 1:42 
QuestionDatagrid paging........ Pin
Nagraj Naik25-Aug-06 0:19
Nagraj Naik25-Aug-06 0:19 
AnswerRe: Datagrid paging........ [modified] Pin
Suresh Pirsquare25-Aug-06 0:33
Suresh Pirsquare25-Aug-06 0:33 
GeneralRe: Datagrid paging........ Pin
Nagraj Naik25-Aug-06 0:42
Nagraj Naik25-Aug-06 0:42 
QuestionE-Commerce Site Pin
tmoney10125-Aug-06 0:12
tmoney10125-Aug-06 0:12 
AnswerRe: E-Commerce Site Pin
minhpc_bk25-Aug-06 13:28
minhpc_bk25-Aug-06 13:28 

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.