<
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>