Click here to Skip to main content
15,885,278 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: DataKey from a gridview Pin
Malayil alex26-Feb-09 12:21
Malayil alex26-Feb-09 12:21 
GeneralRe: DataKey from a gridview Pin
ToddHileHoffer26-Feb-09 13:17
ToddHileHoffer26-Feb-09 13:17 
GeneralRe: DataKey from a gridview Pin
Malayil alex26-Feb-09 13:41
Malayil alex26-Feb-09 13:41 
QuestionHow to Create web widgets with ASP.net ? Pin
rok_00726-Feb-09 6:31
rok_00726-Feb-09 6:31 
AnswerRe: How to Create web widgets with ASP.net ? Pin
Calin Tatar26-Feb-09 8:00
Calin Tatar26-Feb-09 8:00 
GeneralRe: How to Create web widgets with ASP.net ? Pin
Calin Tatar26-Feb-09 8:09
Calin Tatar26-Feb-09 8:09 
GeneralRe: How to Create web widgets with ASP.net ? Pin
rok_00726-Feb-09 14:36
rok_00726-Feb-09 14:36 
QuestionWhy my TreeNodePopulate of TreeView contol is not fired? Pin
kmuthuk26-Feb-09 5:28
kmuthuk26-Feb-09 5:28 
Hi all,

I have a treeview control, loading data using an xml file, and have a trigger [TreeView1_TreeNodePopulate] in the codebehind. Don't know for some reason it is not getting fired. Even though I'm raising an error in my trigger, it seems it doesn't work.

Could anyone help me find this PLEASE?

Here is my aspx:
<asp:treeview id="TreeView1" runat="server" datasourceid="BookXmlDataSource" xmlns:asp="#unknown">
     <databindings>
          <asp:treenodebinding datamember="Book" textfield="Title" />
          <asp:treenodebinding datamember="Chapter" textfield="Heading" />
          <asp:treenodebinding datamember="Section" textfield="Heading" />
        </databindings>
</asp:treeview>
<asp:xmldatasource id="BookXmlDataSource" xmlns:asp="#unknown">
        DataFile="Book.xml"
        runat="server">
      </asp:xmldatasource>


codebehind:
<br />
protected void Page_Load(object sender, EventArgs e)<br />
    {<br />
        TreeView1.TreeNodePopulate += new TreeNodeEventHandler(TreeView1_TreeNodePopulate);<br />
    }<br />
<br />
    protected void TreeView1_TreeNodePopulate(object sender, TreeNodeEventArgs e)<br />
    {<br />
        throw new Exception("alsdjfla");<br />
    }<br />


Thanks A LOT.

Muthu
AnswerRe: Why my TreeNodePopulate of TreeView contol is not fired? Pin
Calin Tatar26-Feb-09 5:33
Calin Tatar26-Feb-09 5:33 
GeneralRe: Why my TreeNodePopulate of TreeView contol is not fired? Pin
kmuthuk26-Feb-09 6:06
kmuthuk26-Feb-09 6:06 
QuestionRPC service unavailable Pin
Armandt__26-Feb-09 5:01
Armandt__26-Feb-09 5:01 
QuestionUnable to delete row from dataset Pin
Chetan_pawar26-Feb-09 4:11
Chetan_pawar26-Feb-09 4:11 
Questionhow to pass null values to the data type of integer? Pin
keyur satyadev26-Feb-09 2:30
keyur satyadev26-Feb-09 2:30 
AnswerRe: how to pass null values to the data type of integer? Pin
J4amieC26-Feb-09 3:04
J4amieC26-Feb-09 3:04 
AnswerRe: how to pass null values to the data type of integer? Pin
Abhishek Sur26-Feb-09 3:51
professionalAbhishek Sur26-Feb-09 3:51 
GeneralRe: how to pass null values to the data type of integer? Pin
keyur satyadev26-Feb-09 22:44
keyur satyadev26-Feb-09 22:44 
AnswerRe: how to pass null values to the data type of integer? Pin
Anurag Gandhi26-Feb-09 4:17
professionalAnurag Gandhi26-Feb-09 4:17 
AnswerRe: how to pass null values to the data type of integer? Pin
sarang_k26-Feb-09 16:40
sarang_k26-Feb-09 16:40 
QuestionRegd: Urgent Help Needed: Final year college project.... HELP Pin
ssmithraa9926-Feb-09 2:29
ssmithraa9926-Feb-09 2:29 
AnswerRe: Regd: Urgent Help Needed: Final year college project.... HELP Pin
Colin Angus Mackay26-Feb-09 5:16
Colin Angus Mackay26-Feb-09 5:16 
AnswerRe: Regd: Urgent Help Needed: Final year college project.... HELP Pin
Christian Graus26-Feb-09 8:48
protectorChristian Graus26-Feb-09 8:48 
QuestionGridview with Empty datasource Pin
Reddy198326-Feb-09 1:33
Reddy198326-Feb-09 1:33 
AnswerRe: Gridview with Empty datasource Pin
Tarini Singh26-Feb-09 2:03
Tarini Singh26-Feb-09 2:03 
AnswerRe: Gridview with Empty datasource Pin
keyur satyadev26-Feb-09 2:34
keyur satyadev26-Feb-09 2:34 
QuestionNeed to fetch the value from Dynamic Generated Text Box. Pin
Tarini Singh26-Feb-09 1:15
Tarini Singh26-Feb-09 1:15 

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.