<
telerik:RadEditor ID="radEditor" runat="server"
Skin="WWRDefault" EnableEmbeddedSkins="false"
ToolbarMode="Default" Height="600px" Width="97%"
Visible="false" CausesValidation="False"
ToolsFile="~/DefaultRadEditorToolsFile.xml"
MaxDocumentSize="2400000" MaxImageSize="20480"
ImagesFilters="*.png,*.gif,*.jpg,*.jpeg"
DocumentsFilters="*.pdf,*.xls" />

protected void ContextMenuItemClick(object sender, RadTreeViewContextMenuEventArgs e)
{
RadTreeNode node = new RadTreeNode("NEW FOLDER", "1");
ClickedNode.Nodes.Add(node);
node.Selected = true;
node.ExpandParentNodes();
string script = "HighlightNode(\"" + node.Value + "\")";
RadAjaxManager1.ResponseScripts.Add(script);
}
<telerik:RadScriptManager ID="RadScriptManager" runat="server" />
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"/>
<telerik:RadScriptBlock ID="rsb" runat="server">
<script type="text/javascript">
function HighlightNode(value)
{
alert(value);
var tree = document.getElementById("<%= tvLibraryTree.ClientID %>");
// tired $find no luck unless no ajax panel
alert(tree);
alert(tree.findNodeByValue(value));
var node = tree.findNodeByValue(value);
if (node != null) node.startEdit();
}
</script>
......
Hi
I am having a scenario to Show modalDialog in my application and have the following code implemented.
var returnValue = window.showModalDialog(url.value, 'Transaction', 'dialogHeight:202px;dialogWidth:300px;');
If(returnValue)
return 1;
else
return 0;
In order to have the same look and feel as that of rad Confirmation messages. I am planning to change the ShowModalDialog to
var oWin = window.radopen()
But my screen is giving some wired behaviour.
I need to return boolean value from this radopen and based on that i need to perform some functionality
Can you provide me some KB Article or code which would do the above functionality with radopen function.
Moreover when i use the radopen function to open a window the background operation doe not seems to wait till i complete the operation in the model dialog window.
And I am sure that i have enabled the model=true property in RadWindowManager.
Please suggest me some other approach where i could get boolean return type for the radOpen
Regards
Bose Thirumalai
<
telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="1">
<Tabs>
<telerik:RadTab Text ="Report" Value="Report"></telerik:RadTab>
</Tabs>
<Tabs>
<telerik:RadTab Text ="Report Dates" Value="ReportDates"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
But it's not appearing like a radtab .It's appearing with some bullets and links. I need a tabbed appearance
and also
on implementing the above, if i click on "report dates" tab, it adds an extra tab to the design??
Pls help me with code?? hat am i missing???
I need to put 3 listboxes in one tab and a radgrid in another tab??? how do i implement this.
Pls correct my code too.
Thanks,
ZR
| <asp:ScriptManager ID="t" runat="server"></asp:ScriptManager> |
| <telerik:RadFileExplorer ID="rfeDocuments" runat="server" |
| > |
| <Configuration ViewPaths="~/Files" UploadPaths="~/Files" |
| DeletePaths="~/Files" MaxUploadFileSize="104857600" /> |
| </telerik:RadFileExplorer> |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| try |
| { |
| if (!IsPostBack) |
| { |
| Session["test"] = "tt"; |
| } |
| string s; |
| if (Session["test"] != null) |
| s = "ok"; |
| } |
| catch (Exception ex) |
| { |
| // |
| } |
| } |
