Click here to Skip to main content
16,006,509 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: carousel control Pin
Michael Sync12-Nov-07 20:06
Michael Sync12-Nov-07 20:06 
QuestionPaging in Placeholder Pin
.NET- India 12-Nov-07 18:18
.NET- India 12-Nov-07 18:18 
AnswerRe: Paging in Placeholder Pin
N a v a n e e t h12-Nov-07 18:25
N a v a n e e t h12-Nov-07 18:25 
QuestionPay schedule Pin
gunaarun12-Nov-07 18:15
gunaarun12-Nov-07 18:15 
AnswerRe: Pay schedule Pin
Michael Sync12-Nov-07 18:41
Michael Sync12-Nov-07 18:41 
Questionhow can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
Vishnu Narayan Mishra12-Nov-07 17:52
Vishnu Narayan Mishra12-Nov-07 17:52 
AnswerRe: how can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
N a v a n e e t h12-Nov-07 18:29
N a v a n e e t h12-Nov-07 18:29 
AnswerRe: how can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
Jon Sagara12-Nov-07 18:35
Jon Sagara12-Nov-07 18:35 
GeneralRe: how can i convert date into format '2007-10-25T11:47:10.515625+05:30' Pin
Vishnu Narayan Mishra12-Nov-07 20:19
Vishnu Narayan Mishra12-Nov-07 20:19 
QuestionInvalid column name Pin
Milind Panchal12-Nov-07 17:44
Milind Panchal12-Nov-07 17:44 
AnswerRe: Invalid column name Pin
Christian Graus12-Nov-07 17:47
protectorChristian Graus12-Nov-07 17:47 
AnswerInvalid column name Pin
Sarani Ravindran12-Nov-07 17:49
Sarani Ravindran12-Nov-07 17:49 
AnswerRe: Display The Tag value in a textbox Pin
Christian Graus12-Nov-07 17:48
protectorChristian Graus12-Nov-07 17:48 
QuestionProblems viewing filelist from folder in a gridview Pin
dreamcaster-dk12-Nov-07 10:40
dreamcaster-dk12-Nov-07 10:40 
AnswerRe: Problems viewing filelist from folder in a gridview Pin
Michael Sync12-Nov-07 14:38
Michael Sync12-Nov-07 14:38 
QuestionData list Pin
merwa12-Nov-07 5:51
merwa12-Nov-07 5:51 
QuestionLinking a document (not residing in web directory) to hyperlink Pin
Pankaj Chamria12-Nov-07 5:20
Pankaj Chamria12-Nov-07 5:20 
AnswerRe: Linking a document (not residing in web directory) to hyperlink Pin
Michael Sync12-Nov-07 7:14
Michael Sync12-Nov-07 7:14 
GeneralRe: Linking a document (not residing in web directory) to hyperlink Pin
Pankaj Chamria12-Nov-07 21:24
Pankaj Chamria12-Nov-07 21:24 
QuestionNested user controls Pin
dabs12-Nov-07 4:45
dabs12-Nov-07 4:45 
Hi,

I have a user control. It should display a list of employees in a department, but in a nested way. It is currently defined like this:

- It contains a single div.
- Inside this div there are three controls:
- A HyperLink control (showing the name of the department)
- A GridView control (listing all employees within this department)
- A Repeater control (which should display all sub-departments).

The repeater should actually contain a copy of the user control itself!, since it is really displaying the exact same information, only for subdepartments - and there could be an (theoretically) infinite amount of nested subdepartments.

Now, obviously a user control cannot directly contain a control which is an instance of itself. However, I've managed to bypass that problem by letting the repeater contain a single PlaceHolder, and then use LoadControl to load any number of the UC. This works correctly and all the data is displayed - but in the same gridview: the gridview defined in the first UC which is loaded with LoadControl. All the others are empty.

It appears that when I call e.Item.FindControl during the ItemDataBound event for the repeater, it always seems to give me the same control.

Has anyone had any similar problem - or what is more important - a solution?

Regards,
Daníel





Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

AnswerRe: Nested user controls Pin
InsDev12-Nov-07 19:22
InsDev12-Nov-07 19:22 
QuestionNot able to create master page Pin
Poonam Gandash12-Nov-07 4:02
Poonam Gandash12-Nov-07 4:02 
AnswerRe: Not able to create master page Pin
dabs12-Nov-07 4:32
dabs12-Nov-07 4:32 
GeneralRe: Not able to create master page Pin
Poonam Gandash12-Nov-07 17:45
Poonam Gandash12-Nov-07 17:45 
GeneralRe: Not able to create master page Pin
Anurag Gandhi12-Nov-07 18:23
professionalAnurag Gandhi12-Nov-07 18:23 

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.