hi,
i have grid with columntemplate and as a template i use button.
when user clicks that button radwindow shows with proper content
however when user closes that window and starts paging grid that radwindow keeps showing!
why? what am i doing wrong?
but when i set in radwindowmanager OnClientClose="Clientclose" where
function OnClientclose(radWindow) {
window.location.href = top.location;}
it works fine but i ont want to load the same page again
any help...? pliz
regards
ksysiek
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;
}
<
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
>
// 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
);
}
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 |