Hi All,
I found that when I put a custom user control(I call it Parent User Control below) between <NestedViewTemplate ></NestedViewTemplate >.
And the Parent User Control also have another User Control(I call it Children User Control). The Children User Control has some script code between <RadCodeBlock ></RadCodeBlock >. But when the RadGrid renders, I found that the Children User Control's script code between <RadCodeBlock ></RadCodeBlock > can't be loaded? Could anyone tell me how to solve this problem? Thank you in advance.
My Code:
Parent User Conrol "TaskControl.ascx":
Children User Control "flowAssignee.ascx":
I found that when I put a custom user control(I call it Parent User Control below) between <NestedViewTemplate ></NestedViewTemplate >.
And the Parent User Control also have another User Control(I call it Children User Control). The Children User Control has some script code between <RadCodeBlock ></RadCodeBlock >. But when the RadGrid renders, I found that the Children User Control's script code between <RadCodeBlock ></RadCodeBlock > can't be loaded? Could anyone tell me how to solve this problem? Thank you in advance.
My Code:
| ...... <NestedViewTemplate > |
| <Test:TaskControl ID="TaskControlMain" runat="server" /> |
| </NestedViewTemplate> ........ |
Parent User Conrol "TaskControl.ascx":
| <DIV> |
| <Test:flowAssignee ID="Assignee" runat="server" /> <DIV> |
Children User Control "flowAssignee.ascx":
| <DIV> |
| <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
| <script type="text/javascript"> |
| function checkAssignee() |
| { |
| alert("2323") |
| } |
| </script> |
| </telerik:RadCodeBlock> |
| <div> |
| <telerik:RadTextBox ID="Relationship" runat="server" onblur="checkAssignee" Width="200" /> |
| </div> |
