If Request.UrlReferrer IsNot Nothing Then
strReferrer = Request.UrlReferrer.GetLeftPart(UriPartial.Authority).ToString()
If InStr(strReferrer, "scargillmovement") > 0 Then
' internal referrer do not remove cookie
Else
'external referrer so close menu
If Page.Request.Cookies("TelerikRadPanelBarCookie") IsNot Nothing Then
Page.Request.Cookies("TelerikRadPanelBarCookie").Value = Nothing
End If
For Each item As RadPanelItem In RadPanelBar1.GetAllItems()
If Not item.Items.Count = 0 Then
item.Expanded = False
End If
Next
End If
Else
' link straight in from bookmark or type in so remove cookie and close menu
If Page.Request.Cookies("TelerikRadPanelBarCookie") IsNot Nothing Then
Page.Request.Cookies("TelerikRadPanelBarCookie").Value = Nothing
End If
For Each item As RadPanelItem In RadPanelBar1.GetAllItems()
If Not item.Items.Count = 0 Then
item.Expanded = False
End If
Next
End If
We are facing an issue on those pages containing telerik grid. When the page loads, there is an error in IE which says - 'Syntax Error' Line 3 Char 1. We get this error only if CustomError is set to On in the web.config file.
<customErrors mode="On" defaultRedirect="General/Error.aspx">
<error statusCode="403" redirect="General/Error.aspx"/>
<error statusCode="404" redirect="General/Error.aspx"/>
</customErrors>
It works fine on pages where telerik grid is not present. We are using the version 2010.1.519.35 of Telerik.Web.UI.dll and Telerik.Web.Design.dll.
<location path="Telerik.Web.UI.WebResource.axd"> |
<system.web> |
<authorization> |
<allow users="*"/> |
</authorization> |
</system.web> |
</location> |
function showSource(tab, multiPage, editor) { |
editor.set_mode(2); |
showEditorToolbar(true); |
if (multiPage.get_selectedIndex() != 0) |
multiPage.set_selectedIndex(0); |
var oTool = getEditor().getToolByName("FontName"); //get a reference to the custom tool |
oTool.setState(0); |
} |
[
protected void ddlCommodity_itemRequested(object o, RadComboBoxItemsRequestedEventArgs e)
{
string exchange1 = ExchangeType.Exchange;
DataSet CommodityCodes = service.GetCommodities(exchange1);
ddlCommodity.DataSource = CommodityCodes.Tables[0];
ddlCommodity.DataTextField = "'ALL'";
ddlCommodity.DataValueField = "'ALL'";
ddlCommodity.DataBind();
}
the property is
public string Exchange
{
get { return ddlExchangeType.SelectedValue;}
set { ddlExchangeType.SelectedValue = value; }
}
]
Hi Telerik Team,
I want to open and Edit a Word Document Online means open the document in client browser Without save the document on user System
and when edit the document that would be saved on server.
So, Is there any tool available in Telerik Controls?
Below are the steps:
1. Browse a file using fileupload or Select a file.
2. Use the file upload file and when hit on a button,the file needs to opened/edited something like an GoogleDoc. Or Open in Editor) without save on Client/User machine.
3 .User makes necessary changes and save the file on Server.
please reply ASAP and if possible send me the example.
I am rally thankful to you.
Best Regrdas,
<
telerik:RadSplitter
id
=
"RadSplitter1"
CssClass
=
"Splitter"
runat
=
"server"
>
<
telerik:RadPane
id
=
"LeftPane"
runat
=
"server"
width
=
"22"
Scrolling
=
"None"
>
<
telerik:RadSlidingZone
id
=
"SlidingZone1"
runat
=
"server"
width
=
"22"
DockedPaneId
=
"Pane1"
ExpandedPaneId
=
"Pane2"
>
<
telerik:RadSlidingPane
id
=
"Pane2"
title
=
"Pane2"
runat
=
"server"
width
=
"150"
minwidth
=
"100"
>This pane is set to be initially expanded when the page is loaded. <
br
/><
br
/>Use the <
b
>ExpandedPaneId</
b
> property of the <
b
>RadSlidingZone</
b
> to control this behavior.</
telerik:RadSlidingPane
>
</
telerik:RadSlidingZone
>
</
telerik:RadPane
>
<
telerik:RadSplitBar
id
=
"RadSplitbar1"
runat
=
"server"
></
telerik:RadSplitBar
>
<
telerik:RadPane
id
=
"MainPane"
runat
=
"server"
>Main Pane</
telerik:RadPane
>
</
telerik:RadSplitter
>
var windowHight = $(window).height();
var windowWidth = $(window).width();
var vvv = $find("ctl00_RadSplitter1");
vvv.set_height(windowHight);
vvv.set_width(windowWidth);
Hi,
I am implementing an application using RadGrid, where I am using the following features:
I have a large amount of data (approximately 50k entries) and I found out that SQL server needs a large amount of data in order to sort all the selected data.
As I support filtering, users will use this option to reach the needed item instead of loading them all and using the pager.
According to these facts my idea is to:
The only problem is, that I cannot find the event late enough to bind the client function that does the needed job. I tried with the “OnDataBound” but on that time the number of available hits is not yet available.
function
ModifyPagerInfo() {
var
hitsNo = $(
'.rgPagerCell .rgInfoPart strong span:first'
).html();
if
(1000 > hitsNo)
$(
'.rgPagerCell .rgInfoPart strong span:first'
).html(
'first '
+ hitsNo);
}
Does anyone knows if there is any event late enough in order to change the pager info.
Or there is any other possibility to reach the needed functionality?
Thank you,
Kristijan