Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
HI i am sameer,

I am using telerik Rad Treeview in DotnetNuke application. I am unable to perform nodeclick event in DotnetNuke application.

My code look like ..

In page load i written

if

 

(!IsPostBack)

 

{

 

RadTreeNode Node = new RadTreeNode();

 

Node.Text =

"Questionnaire Type";

 

Node.ImageUrl =

"../../images/folder.gif";

 

Node.ContextMenuID =

"EmptyFolderContextMenu";

 

Node.Expanded =

true;

 

 

RadTreeNode Node1 = new RadTreeNode();

 

Node1.Text =

"Questionnaire Name";

 

Node1.ContextMenuID =

"MainContextMenu1";

 

Node1.Expanded =

true;

 

 

RadTreeNode Node2 = new RadTreeNode();

 

Node2.Text =

"Question Type";

 

Node2.Expanded =

true;

 

Node1.Nodes.Add(Node2);

 

RadTreeNode Node3 = new RadTreeNode();

 

Node3.Text =

"Question 1";

 

Node3.Expanded =

true;

 

Node2.Nodes.Add(Node3);

Node.Nodes.Add(Node1);

RadTreeView1.Skin =

"Vista";

 

RadTreeView1.Nodes.Add(Node);

}


 

protected void RadTreeView1_NodeClick(object sender, RadTreeNodeEventArgs e)

 

{

Label1.Text =

"NodeClick: " + e.Node.Text;

 

}



whn i debug its going to nodeclick event but i didn't get the value of node click value.

Thanks in advance :)


Yana
Telerik team
 answered on 27 Sep 2010
1 answer
74 views
Hi Telerik Team,

Could you please clarify the following issue.

If i apply Frozen columns to telerik grid by (by using Static Headers=true), can i support the following features to my grid?

1)Column reorder
2)Sorting on Columns
3)Scrollbar movements on user friendly manner

Dimo
Telerik team
 answered on 27 Sep 2010
1 answer
160 views
hi,

in RadAjaxLoadingPanel is sticky mode (the transparent white modal pop up covers all screen), I want to:

1- put div in the middle of this transparent modal pop, where this div contain an image and flash or maybe animated gif (flash is better).
2- how to change the transparency? I need to decrease the transparency.
3- can I change it from white to some other color? if so, how?

thanks,
Dimo
Telerik team
 answered on 27 Sep 2010
1 answer
83 views
hi i m working in rad calendar  i bind event date and click on open rad window 
but when i move mouse in calendar then some date automatically selected and after clickselected  date is unselected
Maria Ilieva
Telerik team
 answered on 27 Sep 2010
1 answer
107 views
Dear Telerik Community,

Currently i am developing an web application in VS2010 with the controls of Q1 2010 release. In this application my workflow must be handled clientside. I have already posted a few threads with different approaches but haven't heard nothing on it yet. I post the links in the end of this message. Like the title states, i have a few questions about the radinputmanager. I have searched around the internet for a solution what i need.

I did he following at the moment. I have created an usercontrol where dynamicly fields are loaded with the corresponding settings. These settings are set in the code behind and are attached to the radinputmanager. These settings work and the radinputmanager gives the message when something wrong happened with a textbox for example. Only at this moment my problem rises. The problem is everything must be executed clientside. The following code snippit will explain a little bit better what i am trying to ask.

<div id="intakeObjectDynamic" class="css_div_datacontrol_content">
    <div class="css_div_datacontrol_data">
        <telerik:RadInputManager ID="rimIntakeObjects" runat="server">
            <telerik:RegExpTextBoxSetting BehaviorID="veNumericInput" ValidationExpression="[0-9]{1,}" Validation-IsRequired="true">
                <TargetControls>
                    <telerik:TargetInput ControlID="tbServiceId" Enabled="True" />
                </TargetControls>
            </telerik:RegExpTextBoxSetting>
        </telerik:RadInputManager>
 
        <asp:Panel ID="pIntake" runat="server">
            <asp:Table ID="tblIntake" runat="server">
                <asp:TableRow>
                    <asp:TableCell CssClass="css_data_tbl_col_lbl_cell">
                        <asp:Label ID="lblServiceId" runat="server" Text="ServiceID"></asp:Label>
                    </asp:TableCell>
                    <asp:TableCell CssClass="css_data_tbl_col_value_cell">
                        <asp:TextBox ID="tbServiceId" runat="server"></asp:TextBox>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>
 
            <DFC:dynFC ID="dynFC" runat="server" />
        </asp:Panel>
    </div>
</div>

This code snippit loads up my dynamic fields etc.

// Intakes the object
function IntakeObject() {
    var rangeId = $("input[id *= 'hfRangeId']").attr("value");
    var projectId = $("input[id *= 'hfProjectId']").attr("value");
    var objectTypeId = $("input[id *= 'hfObjectTypeId']").attr("value");
    var serviceId = $("input[id *= 'tbServiceId']").attr("value");
 
    var objectValues = new Object();
 
    $("input[id *= 'dynamicFieldControl']").each(function () {
        // hack that dropdowncontrols will not be listed, but its true value is listed
        if ($(this).attr("ID").indexOf("ClientState") < 1) {
            var fieldId = $(this).attr("ID").split("-")[1];
 
            if (fieldId.indexOf("_") > 0)
                fieldId = fieldId.split("_")[0];
 
            var value = $(this).attr("value");
 
            objectValues[fieldId] = value;
        }
    })
 
    IntakeObject(rangeId, projectId, objectTypeId, serviceId, objectValues, SuccessMethod, FailureMethod, null);
}

This code snippit will be executed when the object needs to be saved. The validation check needs to be implemented in this code snippit. Something like this:

if (radinputmanager.failedvalidations < 1)
   intake object
else
   give an result of failed validations (or something like that)

This is what i am trying to achieve but havent found any solution for it yet. So thats why i ask it here and hopefully can someone help me further.

I have tried already something like this:

            var radInputManager = $find("<%=radInputManager.ClientID%>");
            radInputManager.get_InputSettings()


but where do i need to go on or am i thinking wrong?

Previous threads:
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/radinputmanager-c-property-total-validations-failed.aspx

Kind regards,
Michiel Peeters
Martin
Telerik team
 answered on 27 Sep 2010
3 answers
315 views
Team,

Am Binding DataTable as a Datasource for Radgrid.

My need is I want to merge the Radgrid Column Headers as shown in the table below....

pls. reply its urgent...I want to merge Odd or even Columns and have to apply formatting also...


2007 2007 2008 2008 2009 2009
Payroll Payroll Tax Payroll Payroll Tax Payroll Payroll Tax
0.831479219 0.878480961 0.125905661 0.582711154 0.666182555 0.003437293
0.692284719 0.924671836 0.348159038 0.16631018 0.125653848 0.547001853
0.248446244 0.528673182 0.677024774 0.018750403 0.355728003 0.748506612
0.355725838 0.025139254 0.640793399 0.779381424 0.291280161 0.590636076
0.503992823 0.423174681 0.581413565 0.524508673 0.036539204 0.976846173

Thanks.
India.
Pavlina
Telerik team
 answered on 27 Sep 2010
1 answer
77 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
84 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
81 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
143 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?