Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
Hi,
I am using telerik rad grid in web page with update panel and updae progress.
I also implemented pagination and it works finely.
But i got stuck when Filteration is not working.
I did following things
allowFilteringbycolumn = "true" in rad grid and master table view.
but i didn't working so far.
I didn't change any of the event of rad grid like need data source etc.
Please help!!!
I have to do it by tomorrow.!!!

Thanks in advance.
Pu
Pavlina
Telerik team
 answered on 27 Sep 2010
1 answer
68 views
Hi,
I am using telerik rad grid in web page with update panel and updae progress.
I also implemented pagination and it works finely.
But i got stuck when Filteration is not working.
I did following things
allowFilteringbycolumn = "true" in rad grid and master table view.
but i didn't working so far.
I didn't change any of the event of rad grid like need data source etc.
Please help!!!
I have to do it by tomorrow.!!!

Thanks in advance.
Pu
Pavlina
Telerik team
 answered on 27 Sep 2010
3 answers
55 views
In rad calendar i bind data and click on date open rad window
but when i auto postback =true then rad window in not open
Tsvetina
Telerik team
 answered on 27 Sep 2010
1 answer
101 views
I have a RadGrid that has an expand/collapse column. I have put the RadGrid in a UserControl and then placed the UserControl inside a RadWindow ContextTemplate. The TaskGrid control's expand/collapse works correctly when included in another page, but when it is embedded within the RadWindow they don't work. Nothing happens when I click on it. Any ideas?

Thanks,

Anne Chinn

 

<telerik:RadWindow ID="AssignTasksWnd" runat="server" ShowContentDuringLoad="true" Width="800px"

 

 

Height="600px" Title="Assign Tasks To Students" Behaviors="Close" OnClientClose="refreshGrid">

 

 

<ContentTemplate>

 

 

    <uc:TaskGrid ID="TaskGrid1" runat="server" Visible="true" />

 

 

</ContentTemplate>

 

 

</telerik:RadWindow>


Here's the TaskGrid control

 

<

 

telerik:RadGrid runat="Server" ID="TaskGrid" GridLines="Both" Height="100%"

 

 

 

 

 

BorderWidth="1" ShowGroupPanel="true"

 

 

 

 

 

AllowSorting="true" AllowPaging="false" AllowFilteringByColumn="true"

 

 

 

 

 

ShowHeader="true"

 

 

ClientEvents-OnRowClick="onGridRowClicked"

 

 

 

 

 

ClientSettings-Selecting-AllowRowSelect="true"

 

 

 

 

 

AllowMultiRowSelection="true"

 

 

 

 

 

OnUpdateCommand="TaskGrid_UpdateCommand"

 

 

 

 

 

OnDeleteCommand="TaskGrid_DeleteCommand"

 

 

 

 

 

OnInsertCommand="TaskGrid_InsertCommand"

 

 

 

 

 

OnNeedDataSource="TaskGrid_NeedDataSource"

 

 

OnItemDataBound="TaskGrid_ItemDataBound">

 

 

 

 

 

<ClientSettings AllowDragToGroup="True">

 

 

 

 

 

<Selecting AllowRowSelect="True" />

 

 

</ClientSettings>

 

 

 

 

 

<GroupingSettings ShowUnGroupButton="true" />

 

 

<MasterTableView AutoGenerateColumns="False"

 

 

 

 

 

CommandItemDisplay="Top"

 

 

 

 

 

NoMasterRecordsText="No tasks found."

 

 

ClientDataKeyNames="ReadingTaskID, EntityCode, CreatedBy">

 

 

 

 

 

<CommandItemSettings AddNewRecordText="Add New Task" />

 

 

 

 

 

<ExpandCollapseColumn Visible="True" >

 

 

 

 

 

</ExpandCollapseColumn>

 

 

 

 

 

<Columns>

 

 

 

 

 

<telerik:GridClientSelectColumn HeaderText="Select" UniqueName="Select" Groupable="false"/>

 

 

 

 

 

<telerik:GridEditCommandColumn UniqueName="EditCommand" />

 

 

 

 

 

<telerik:GridBoundColumn Groupable="true" DataField="EntityName" HeaderText="Owner" ItemStyle-Wrap="false"

 

 

 

 

 

SortExpression="EntityName" UniqueName="EntityName" />

 

 

 

 

 

<telerik:GridBoundColumn Groupable="true" DataField="ReadingTaskType" HeaderText="Type"

 

 

SortExpression="ReadingTaskType" UniqueName="ReadingTaskType" ItemStyle-Wrap="false" />

 

 

 

 

 

<telerik:GridBoundColumn Groupable="false" DataField="ShortName" HeaderText="ShortName"

 

 

SortExpression="ShortName" UniqueName="ShortName" />

 

 

 

 

 

<telerik:GridBoundColumn Groupable="false" DataField="Title" HeaderText="Title"

 

 

SortExpression="Title" UniqueName="Title" />

 

 

 

 

 

<telerik:GridButtonColumn CommandName="Delete" Text="Delete"

 

 

 

 

 

UniqueName= "DeleteCommand" ConfirmText="Are you sure you want to delete this record?" ConfirmTitle="Delete record confirmation" />

 

 

 

 

 

</Columns>

 

 

 

 

 

<EditFormSettings EditFormType="Template" >

 

 

 

 

 

<EditColumn UniqueName="EditCommandColumn1">

 

 

 

 

 

</EditColumn>

 

 

 

 

 

<FormTemplate>

 

 

 

 

 

<table ID="Table2" border="0" cellpadding="0" cellspacing="2" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td>

 

 

 

 

 

<table ID="Table3" cellpadding="5" cellspacing="1" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td colspan="2">

 

 

 

 

 

<b><asp:Label ID="EditTaskTitle" runat="server" Text="Edit Task" /></b>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td nowrap>

 

 

 

 

Short Name:

</td>

 

 

 

 

 

<td>

 

 

 

 

 

<asp:TextBox ID="ShortName" runat="server" MaxLength="20" />&nbsp;

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_ShortName" runat="server" ControlToValidate="ShortName" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td nowrap>

 

 

 

 

Title and Author of Text:

</td>

 

 

 

 

 

<td>

 

 

 

 

 

<asp:TextBox ID="TaskTitle" runat="server" Width="600px" />&nbsp;

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_TaskTitle" runat="server" ControlToValidate="TaskTitle" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td nowrap>

 

 

 

 

Task Type:

</td>

 

 

 

 

 

<td>

 

 

 

 

 

<asp:DropDownList ID="TaskType" runat="server" OnSelectedIndexChanged="OnChangeTaskType" AutoPostBack="true">

 

 

 

 

 

<asp:ListItem Text="Literary" Value="1" />

 

 

 

 

 

<asp:ListItem Text="Informational" Value="2" />

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td colspan="2">

 

 

 

 

 

<asp:Panel ID="Edit_LiteraryTextPanel" runat="server" Visible="true">

 

 

 

 

 

<table cellpadding="2" cellspacing="0" class="General" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Active

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Strand

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Target

</td>

 

 

 

 

 

<td class="DefaultHeaderCell" width="100%">

 

 

 

 

Question

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="Lit_Active1" runat="server" AutoPostBack="true"

 

 

OnCheckedChanged="OnChangeLCActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap valign="top">

 

 

 

 

LC (Literary Comprehension)

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:DropDownList ID="Lit_Target1" runat="server">

 

 

 

 

 

<asp:ListItem Text="Select" Value="0" />

 

 

 

 

 

<asp:ListItem Text="LC01" Value="1" />

 

 

 

 

 

<asp:ListItem Text="LC02" Value="2" />

 

 

 

 

 

<asp:ListItem Text="LC03" Value="3" />

 

 

 

 

 

<asp:ListItem Text="LC04" Value="4" />

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

<asp:CompareValidator ID="RFV_Lit_Target1"

 

 

ControlToValidate="Lit_Target1"

 

 

 

 

 

Operator="notEqual"

 

 

 

 

 

ValueToCompare="0"

 

 

 

 

 

ErrorMessage="*Required"

 

 

 

 

 

Enabled="false"

 

 

 

 

 

runat="server"

 

 

 

 

 

/>

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:TextBox ID="Lit_Prompt1" runat="server" Rows="4" TextMode="MultiLine" Width="99%" />

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_Lit_Prompt1" runat="server" Enabled="false" ControlToValidate="Lit_Prompt1" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="Lit_Active2" runat="server" AutoPostBack="true"

 

 

OnCheckedChanged="OnChangeLAActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap valign="top">

 

 

 

 

LA (Literary Analysis)

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:DropDownList ID="Lit_Target2" runat="server">

 

 

 

 

 

<asp:ListItem Text="Select" Value="0" />

 

 

 

 

 

<asp:ListItem Text="LA05" Value="5" />

 

 

 

 

 

<asp:ListItem Text="LA06" Value="6" />

 

 

 

 

 

<asp:ListItem Text="LA07" Value="7" />

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

<asp:CompareValidator ID="RFV_Lit_Target2"

 

 

ControlToValidate="Lit_Target2"

 

 

 

 

 

Operator="notEqual"

 

 

 

 

 

ValueToCompare="0"

 

 

 

 

 

ErrorMessage="*Required"

 

 

 

 

 

Enabled="false"

 

 

 

 

 

runat="server"

 

 

 

 

 

/>

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:TextBox ID="Lit_Prompt2" runat="server" Rows="4" TextMode="MultiLine" Width="99%" />

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_Lit_Prompt2" runat="server" Enabled="false" ControlToValidate="Lit_Prompt2" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="Lit_Active3" runat="server" AutoPostBack="true"

 

 

OnCheckedChanged="OnChangeLTActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap valign="top">

 

 

 

 

LT - (Literary Thinking Critically)

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:DropDownList ID="Lit_Target3" runat="server">

 

 

 

 

 

<asp:ListItem Text="Select" Value="0" />

 

 

 

 

 

<asp:ListItem Text="LT08" Value="8" />

 

 

 

 

 

<asp:ListItem Text="LT09" Value="9" />

 

 

 

 

 

<asp:ListItem Text="LT10" Value="10" />

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

<asp:CompareValidator ID="RFV_Lit_Target3"

 

 

ControlToValidate="Lit_Target3"

 

 

 

 

 

Operator="notEqual"

 

 

 

 

 

ValueToCompare="0"

 

 

 

 

 

ErrorMessage="*Required"

 

 

 

 

 

Enabled="false"

 

 

 

 

 

runat="server"

 

 

 

 

 

/>

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:TextBox ID="Lit_Prompt3" runat="server" Rows="4" TextMode="MultiLine" Width="99%" />

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_Lit_Prompt3" runat="server" Enabled="false" ControlToValidate="Lit_Prompt3" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

<br />

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

<asp:Panel ID="Edit_InfoTextPanel" runat="server" Visible="true">

 

 

 

 

 

<table cellpadding="2" cellspacing="0" class="General" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Active

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Strand

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Target

</td>

 

 

 

 

 

<td class="DefaultHeaderCell" width="100%">

 

 

 

 

Question

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="Info_Active1" runat="server" AutoPostBack="true"

 

 

OnCheckedChanged="OnChangeICActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap valign="top">

 

 

 

 

IC (Informational Comprehension)

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:DropDownList ID="Info_Target1" runat="server">

 

 

 

 

 

<asp:ListItem Text="Select" Value="0" />

 

 

 

 

 

<asp:ListItem Text="IC11" Value="11" />

 

 

 

 

 

<asp:ListItem Text="IC12" Value="12" />

 

 

 

 

 

<asp:ListItem Text="IC13" Value="13" />

 

 

 

 

 

<asp:ListItem Text="IC14" Value="14" />

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

<asp:CompareValidator ID="RFV_Info_Target1"

 

 

ControlToValidate="Info_Target1"

 

 

 

 

 

Operator="notEqual"

 

 

 

 

 

ValueToCompare="0"

 

 

 

 

 

ErrorMessage="*Required"

 

 

 

 

 

Enabled="false"

 

 

 

 

 

runat="server"

 

 

 

 

 

/>

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:TextBox ID="Info_Prompt1" runat="server" Rows="4" TextMode="MultiLine"

 

 

Width="99%" />

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_Info_Prompt1" runat="server" Enabled="false" ControlToValidate="Info_Prompt1" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="Info_Active2" runat="server" AutoPostBack="true"

 

 

OnCheckedChanged="OnChangeIAActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap valign="top">

 

 

 

 

IA (Informational Analysis)

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:DropDownList ID="Info_Target2" runat="server">

 

 

 

 

 

<asp:ListItem Text="Select" Value="0" />

 

 

 

 

 

<asp:ListItem Text="IA15" Value="15" />

 

 

 

 

 

<asp:ListItem Text="IA16" Value="16" />

 

 

 

 

 

<asp:ListItem Text="IA17" Value="17" />

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

<asp:CompareValidator ID="RFV_Info_Target2"

 

 

ControlToValidate="Info_Target2"

 

 

 

 

 

Operator="notEqual"

 

 

 

 

 

ValueToCompare="0"

 

 

 

 

 

ErrorMessage="*Required"

 

 

 

 

 

Enabled="false"

 

 

 

 

 

runat="server"

 

 

 

 

 

/>

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:TextBox ID="Info_Prompt2" runat="server" Rows="4" TextMode="MultiLine"

 

 

Width="99%" />

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_Info_Prompt2" runat="server" Enabled="false" ControlToValidate="Info_Prompt2" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="Info_Active3" runat="server" AutoPostBack="true"

 

 

OnCheckedChanged="OnChangeITActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap valign="top">

 

 

 

 

IT - (Informational Thinking Critically)

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:DropDownList ID="Info_Target3" runat="server">

 

 

 

 

 

<asp:ListItem Text="Select" Value="0" />

 

 

 

 

 

<asp:ListItem Text="IT18" Value="18" />

 

 

 

 

 

<asp:ListItem Text="IT19" Value="19" />

 

 

 

 

 

<asp:ListItem Text="IT20" Value="20" />

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

<asp:CompareValidator ID="RFV_Info_Target3"

 

 

ControlToValidate="Info_Target3"

 

 

 

 

 

Operator="notEqual"

 

 

 

 

 

ValueToCompare="0"

 

 

 

 

 

ErrorMessage="*Required"

 

 

 

 

 

Enabled="false"

 

 

 

 

 

runat="server"

 

 

 

 

 

/>

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:TextBox ID="Info_Prompt3" runat="server" Rows="4" TextMode="MultiLine"

 

 

Width="99%" />

 

 

 

 

 

<asp:RequiredFieldValidator ID="RFV_Info_Prompt3" runat="server" Enabled="false" ControlToValidate="Info_Prompt3" Display="Dynamic" EnableClientScript="true" ErrorMessage="*Required" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

<br></br>

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="right">

 

 

 

 

 

<asp:Button ID="btnUpdate" runat="server"

 

 

CommandName='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? "PerformInsert" : "Update" %>'

 

 

 

 

 

Text='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? "Insert" : "Update" %>' />

 

 

 

 

 

&nbsp;

 

 

 

 

 

<asp:Button ID="btnCancel" runat="server" CausesValidation="False"

 

 

CommandName="Cancel" Text="Cancel" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td>

 

 

 

 

 

<br />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

</FormTemplate>

 

 

 

 

 

</EditFormSettings>

 

 

 

 

 

<NestedViewTemplate>

 

 

 

 

 

<table ID="Table2" border="0" cellpadding="1" cellspacing="2" rules="none" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td>

 

 

 

 

 

<table ID="Table3" cellpadding="5" cellspacing="1" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td colspan="2"><b>Task Details</b></td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td nowrap>

 

 

 

 

Short Name:

</td>

 

 

 

 

 

<td>

 

 

 

 

 

<asp:Label ID="NVT_ShortName" runat="server" Text='<%# Bind( "ShortName" ) %>'

 

 

Width="600px" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td nowrap>

 

 

 

 

Title and Author of Text:

</td>

 

 

 

 

 

<td>

 

 

 

 

 

<asp:Label ID="NVT_Title" runat="server" Text='<%# Bind( "Title" ) %>'

 

 

Width="600px" />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td nowrap>

 

 

 

 

Task Type:

</td>

 

 

 

 

 

<td>

 

 

 

 

 

<asp:Label ID="NVT_TaskType" runat="server"

 

 

Text='<%# Convert.ToString((COEStudentLib.ReadingTaskType)Convert.ToInt16(Eval("ReadingTaskTypeID" ))) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td colspan="2">

 

 

 

 

 

<asp:Panel ID="NVT_LiteraryTextPanel" runat="server"

 

 

Visible='<%# (COEStudentLib.ReadingTaskType)Convert.ToInt16(Eval("ReadingTaskTypeID" ))==COEStudentLib.ReadingTaskType.Literary %>'>

 

 

 

 

 

<table cellpadding="2" cellspacing="0" class="General" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Active

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Strand

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Target

</td>

 

 

 

 

 

<td class="DefaultHeaderCell" width="100%">

 

 

 

 

Question

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="LCActiveCB" runat="server" AutoPostBack="true"

 

 

Checked='<%#Convert.ToString(Eval("Prompt1")).Length > 0 %>' Enabled="false"

 

 

OnCheckedChanged="OnChangeLCActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap>

 

 

 

 

LC (Literary Comprehension)

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_LCTarget" runat="server" Text='<%# Bind( "Target1" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_LCQuestion" runat="server" Text='<%# Bind( "Prompt1" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="LAActiveCB" runat="server" AutoPostBack="true"

 

 

Checked='<%#Convert.ToString(Eval("Prompt2")).Length > 0 %>' Enabled="false"

 

 

OnCheckedChanged="OnChangeLAActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap>

 

 

 

 

LA (Literary Analysis)

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_LATarget" runat="server" Text='<%# Bind( "Target2" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_LAQuestion" runat="server" Text='<%# Bind( "Prompt2" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="LTActiveCB" runat="server" AutoPostBack="true"

 

 

Checked='<%#Convert.ToString(Eval("Prompt3")).Length > 0 %>' Enabled="false"

 

 

OnCheckedChanged="OnChangeLTActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap>

 

 

 

 

LT (Literary Thinking Critically)

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_LTTarget" runat="server" Text='<%# Bind( "Target3" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NTV_LTQuestion" runat="server" Text='<%# Bind( "Prompt3" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

<br />

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

<asp:Panel ID="NVT_InfoTextPanel" runat="server"

 

 

Visible='<%# (COEStudentLib.ReadingTaskType)Convert.ToInt16(Eval("ReadingTaskTypeID" ))==COEStudentLib.ReadingTaskType.Informational %>'>

 

 

 

 

 

<table cellpadding="2" cellspacing="0" class="General" width="100%">

 

 

 

 

 

<tr>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Active

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Strand

</td>

 

 

 

 

 

<td class="DefaultHeaderCell">

 

 

 

 

Target

</td>

 

 

 

 

 

<td class="DefaultHeaderCell" width="100%">

 

 

 

 

Question

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="ICActiveCB" runat="server" AutoPostBack="true"

 

 

Checked='<%#Convert.ToString(Eval("Prompt1")).Length > 0 %>' Enabled="false"

 

 

OnCheckedChanged="OnChangeICActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap>

 

 

 

 

IC (Informational Comprehension)

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_ICTarget" runat="server" Text='<%# Bind( "Target1" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_ICQuestion" runat="server" Text='<%# Bind( "Prompt1" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="IAActiveCB" runat="server" AutoPostBack="true"

 

 

Checked='<%#Convert.ToString(Eval("Prompt2")).Length > 0 %>' Enabled="false"

 

 

OnCheckedChanged="OnChangeIAActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap>

 

 

 

 

IA (Informational Analysis))

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_IATarget" runat="server" Text='<%# Bind( "Target2" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_IAQuestion" runat="server" Text='<%# Bind( "Prompt2" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td align="center" class="DefaultGridCell" valign="top">

 

 

 

 

 

<asp:CheckBox ID="ITActiveCB" runat="server" AutoPostBack="true"

 

 

Checked='<%#Convert.ToString(Eval("Prompt3")).Length > 0 %>' Enabled="false"

 

 

OnCheckedChanged="OnChangeITActiveCB" />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell" nowrap>

 

 

 

 

IT - (Informational Thinking Critically)

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_ITTarget" runat="server" Text='<%# Bind( "Target3" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

<td class="DefaultGridCell">

 

 

 

 

 

<asp:Label ID="NVT_ITQuestion" runat="server" Text='<%# Bind( "Prompt3" ) %>' />

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

<br />

 

 

 

 

 

</asp:Panel>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

</NestedViewTemplate>

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

<ValidationSettings CommandsToValidate="PerformInsert,Update" EnableValidation="true" />

 

</

 

telerik:RadGrid>

 

 

 


Tsvetina
Telerik team
 answered on 27 Sep 2010
1 answer
55 views
Greetings,

I am trying to integrate the MDI Demo and the RadSkinManager chooser. The issue I am currently facing is that when windows are open and I change the skin, the windows dissapear. The RadSkinManager mark-up for the window manager is...

<telerik:RadWindowManager ID="RadWindowManagerMain" runat="server" 
                           RestrictionZoneID="center"
                           Behaviors="Close, Maximize, Minimize, Move, Resize" 
                           KeepInScreenBounds="true"                                   
                           VisibleStatusbar="false"
                           EnableShadow="true"
                           Animation="Fade"
                           AnimationDuration="300"
                           AutoSize="false"
                           VisibleOnPageLoad="false" 
                           IconUrl="../CSS/titlegraphic.gif" 
                           ShowContentDuringLoad="true"
                           OnClientDragStart="WindowDragStart"
                           OnClientCommand="OnClientCommand"
                           OnClientActivate="OnClientActivate" 
                           OnClientClose="OnClientClose"
                           EnableViewState="true">
</telerik:RadWindowManager>

I am not sure what I am missing or if I should expect this to work at all? Any help or insight would be greatly appreciated.

Kind Regards,
Tom
Georgi Tunev
Telerik team
 answered on 27 Sep 2010
5 answers
93 views
Hi!

Can I force a RadDateInput to use the first month / the first day or the last month / the last day as auto-complete values instead of the month/day och today? E.g. I want to have two inputs where in the user can type "1980" in the first, and I always want that to auto-complete as 1980-01-01 no matter the date. In the second input the user can type "1984" and that should auto-complete as 1984-12-31.

Possible?

From this it also follows that if the user in the second input types "1984-02" the auto-complete should be 1984-02-29, and "1983-02" should be 1983-02-28.
Dimo
Telerik team
 answered on 27 Sep 2010
1 answer
81 views
Hi,
        Allow paging is not working in radgrid. Please check the code below:
<radW:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Office2007">
</radW:RadWindowManager>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<radspl:RadSplitter Width="100%" Height="100%" ID="RadSplitter1" runat="server" 
Orientation="Horizontal" Skin="Office2007" VisibleDuringInit="false">
<radspl:RadPane ID="RadPane1" runat="server" Height="167" MinHeight="79">
  
<radG:RadGrid ID="RadGrid1" runat="server" PageSize="5" AllowSorting="true"
EnableAJAXLoadingTemplate="true" AllowPaging="true" AutoGenerateColumns="False" EnableAJAX="True"
GridLines
="None" Skin="Office2007">
<AJAXLoadingTemplate>
 <asp:Panel ID="Panel1" Width="100%" Height="100%" runat="server">
   <img src="Images/Loading.gif" style="z-index: 100" />
 </asp:Panel>
</AJAXLoadingTemplate>
<ExportSettings IgnorePaging="True" OpenInNewWindow="True" />
<PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView DataKeyNames="ID" AllowPaging="true" AllowSorting="true">
 <Columns>
   <radG:GridBoundColumn DataField="ID" UniqueName="ID" Display="false">
   </radG:GridBoundColumn>
   <radG:GridBoundColumn DataField="Name" UniqueName="Name">
   </radG:GridBoundColumn>
 </Columns>                                    
</MasterTableView>
<ClientSettings ApplyStylesOnClient="True" EnableClientKeyValues="True">
  <Selecting AllowRowSelect="True" />
  <ClientEvents OnGridCreated="GridCreated" OnRequestStart="GridRequestStart" 
OnRowContextMenu="ContextMenu" />
</ClientSettings>
</radG:RadGrid>
  
</radspl:RadPane>
</radspl:RadSplitter>

Note: im using classic radgrid.

Please find me the solution as soon as possible.

Thanks in Advance.

Regards,
Asif





Shinu
Top achievements
Rank 2
 answered on 27 Sep 2010
1 answer
106 views
Hi ,

I am using latest Telerik release version 2010.2.826.35 .
I am creating RadMenu dynamically in code behind and its added to RadPanel bar.
I am creating RadMenuItem dynamically based on some logic and clear menu items on ClientClosed

Codebehind code
objRadMenu.WebServiceSettings.Path = "../Service/SNetService.asmx";
                       objRadMenu.WebServiceSettings.Method = "GetUserLinkHistory";
                       objRadMenu.OnClientItemPopulating = "ShowImage";
                       objRadMenu.OnClientItemPopulated  = "HideImage";
                       objRadMenu.OnClientItemClosed = "ChildMenuClosed";
                       objRadMenu.OnClientMouseOver = "ShowToolTip";                                           
                       RadMenuItem objRadMenuToday = new RadMenuItem(ResourceLang.GetString("Today", "MySettings.aspx"));                       
                       objRadMenuToday.ExpandMode = MenuItemExpandMode.WebService;                    

 
Following is the code in aspx : This code is taken from Telerik Site.

function ChildMenuClosed(sender, args) {
 
           try {
               var item = args.get_item();
               var varItemID = item.get_attributes().getAttribute("PKID");
               if (varItemID == "5") //Clearing Today Data only
               {
                   item.set_expandMode(Telerik.Web.UI.MenuItemExpandMode.WebService);
                   item.get_items().clear();
                   item._itemsLoaded = false;
               }
           } catch (exp) { }
       }

Issue in IE
1 . Alignment issue on second time hover on menu items, Items are generated but whole items are not visible if count is more that 15.
2. If Items are more than 200 then IE hangs and give prompt for non responsive script if i click continue then items are loaded.

Issue in Firefox
1. Items are shown only one time. Once menu is closed it is never shown again although code behind is executed all times.


Please reply for solution.

Thanks
Veenu





Kamen Bundev
Telerik team
 answered on 27 Sep 2010
1 answer
71 views
Hello,

I'm using a basic RadEditor as below:

<telerik:RadEditor ID="re1" runat="server">
</telerik:RadEditor>

From the HTML mode, I enter the following:

<html>
    <head>
        <style>
            span{ color: red !important; }
            div { color: blue !important; }
        </style>
    </head>
    <body>
        <span>should be red</span>
        <div>should be blue</div>
    </body>
</html>

When returning to Design or Preview mode, the DIV is blue, but the SPAN is not red. Do you have any idea why?

The RadEditor is in a page with NO stylesheet.

Thanks,

David
Rumen
Telerik team
 answered on 27 Sep 2010
0 answers
44 views
hello to all,

              i would like to ask on how am i going to hide the scroll bars horizontal and vertical, i'm using the Q2 version 2008, and also how am i going to set the x and y coordinate when the user click the select button on the grid..

here's my sample..i have 4 grid in my page and dynamically have select button on each on the grid. when the user click the select button it should be at the button of page and the same with the other grid..how can i do that..

please help.

thanks in advance
Jols
Top achievements
Rank 2
 asked on 27 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?