<
asp:SqlDataSource ID="dsStudentGradeHistory" runat="server"
<SelectParameters>
<asp:ControlParameter ControlID="firstgrid" Type="Int32" DefaultValue="-1" Name="one" PropertyName="SelectedValue" />
<asp:ControlParameter ControlID="firstgrid" Type="Int32" DefaultValue="-1" Name="two" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
and then bind the data to the second grid.
But what happens is that the second parameter gets one value as you could expected.
How to assign with correct values for the parameters?
Thanks
Toby

| [DefaultProperty("Text")] |
| [ToolboxData("<{0}:Content runat=server></{0}:Content>")] |
| public class Content : WebControl |
| { |
| RadEditor contentEditor; |
| public Content() |
| { |
| } |
| /// <summary> |
| /// Load the UserControl |
| /// </summary> |
| protected override void CreateChildControls() |
| { |
| base.CreateChildControls(); |
| contentEditor = new RadEditor(); |
| contentEditor.ToolsFile = "App_Data/Editor.xml"; |
| contentEditor.ID = "radEditor"; |
| contentEditor.Skin = "Black"; |
| contentEditor.Content = TemplateHelper.PageContent; |
| this.Controls.Add(contentEditor); |
| } |
| /// <summary> |
| /// Render this Web Part to the output parameter specified. |
| /// </summary> |
| /// <param name="output"> The HTML writer to write out to </param> |
| protected override void Render(HtmlTextWriter output) |
| { |
| EnsureChildControls(); |
| if (contentEditor != null) |
| { |
| contentEditor.RenderControl(output); |
| } |
| } |
| } |
DateTime eDate = DateTime.Today;
DateTime sDate = Convert.ToDateTime("01/" + eDate.AddMonths(-1).Month + "/" + eDate.AddMonths(-1).Year);
JobsOpenCollection JColl = new JobsOpenCollection();
JColl.Query.Select
(JColl.Query.CaOpen, JColl.Query.ChOpen, JColl.Query.TskOpen, JColl.Query.Date)
.Where(JColl.Query.Date.Between(sDate, eDate));
JColl.Query.Load();
JColl.Sort =
"Date";
rchWork.DataSource = JColl;
rchWork.DataBind();
| <a href="#" id="tip"><img src="../../Images/Buttons/tipimage.gif" /></a> | |
| <telerik:RadToolTip runat="server" ID="RadToolTip1" | |
| Height="200px" | |
| Width="200px" | |
| TargetControlID="tip" | |
| IsClientID="true" | |
| Sticky="true" | |
| Animation="Fade" | |
| Position="BottomCenter" | |
| RelativeTo="Element" | |
| Skin="DWDS" | |
| EnableEmbeddedSkins="false"> | |
| <div> | |
| <span style="color:Maroon; font-weight:bold;"> | |
| <asp:Label ID="lblParticipantName2" runat="server" /> | |
| </span> | |
| </div> | |
| </telerik:RadToolTip> |
| <asp:Image ID="tip" runat="server" ImageUrl="../../Images/Buttons/tipimage.gif" /> | |
| <telerik:RadToolTip runat="server" ID="RadToolTip1" | |
| Height="200px" | |
| Width="200px" | |
| TargetControlID="tip" | |
| IsClientID="true" | |
| Sticky="true" | |
| Animation="Fade" | |
| Position="BottomCenter" | |
| RelativeTo="Element" | |
| Skin="DWDS" | |
| EnableEmbeddedSkins="false"> | |
| <div> | |
| <span style="color:Maroon; font-weight:bold;"> | |
| <asp:Label ID="lblParticipantName2" runat="server" /> | |
| </span> | |
| </div> | |
| </telerik:RadToolTip> |
| initialize: function() | |
| { | |
| MyControls.WizardTabStrip.callBaseMethod(this, 'initialize'); | |
| // Add custom initialization here | |
| this._tabSelectedHandler = Function.createDelegate(this, this._onTabSelected); | |
| // The next line fails, because the client-side TabStrip object is not yet created: it will be created after our custom client-side control is created | |
| this.get_tabStrip().add_tabSelected(this._tabSelectedHandler); | |
| }, | |
| get_tabStripID: function() | |
| { | |
| return this._tabStripID; | |
| }, | |
| set_tabStripID: function(value) | |
| { | |
| this._tabStripID = value; | |
| }, | |
| get_tabStrip: function() | |
| { | |
| return $find(this.get_tabStripID()); | |
| }, | |
| _onTabSelected : function(sender, args) | |
| { | |
| // Do things when a tab is selected | |
| } |
<%
@ OutputCache Duration="120" Shared="false" VaryByParam="none" %>
<
telerik:RadMenu ID="RadMenu1" runat="server" Skin="Telerik" Width="100%"
OnItemDataBound="RadMenu1_ItemDataBound"
ExpandDelay="50" ExpandAnimation-Duration="100"
CollapseAnimation-Duration="100">
</ telerik:RadMenu>
Hi,
I faced a problem while collapsing node on client side. Consider following example: There are 3 root nodes in the tree when I click on collapse button the below function executes but it only collapses the first expanded node. The below function is taken from the Rad examples only...
Secnario:
R1
C1R1
C2R2
R2
C1R2
C2R2
R3
C1R3
When I click on collapse button only first node collapses and tree looks like:
R1
R2
C1R2
C2R2
R3
C1R3
When I again click on collapse button second node collapses and tree looks like:
R1
R2
R3
C1R3
function Collapse()
{
//get the explorer tree
var explorerTree = $find("<%= rtvExplorer.ClientID %>");
//get the root node count
var nodeCount = explorerTree.get_nodes().get_count();
//loop through root node and collapse them
for (var loopCount=0; loopCount<nodeCount; loopCount++)
{
var node = explorerTree.get_nodes().getNode(loopCount);
alert("node text : " + node.get_text() + ", loopCount : " + loopCount + ", nodeCount : " + nodeCount);
node.set_expanded(false);
}//for
}//function [Collapse]
Has anyone came across with this situation and found the solution???
Thanks and Regards,
Jaimin