EnablePageHeadUpdate="True" |
Page.Header.Title = "Test" |
--- |
Master.Page.Header.Title = "Test" |
--- |
Master.Page.Title = "Test" |
--- |
Dim mp As New MasterPage |
mp = CType(Master, MasterPage) |
mp.Page.Title = "asdf" |
I've added a RadAutoCompleteBox to a web control but when you type it causes a post back even though I have set Autopostback="false".
No results are returned
<
telerik:RadAutoCompleteBox
ID
=
"RadAutoCompany"
Runat
=
"server"
InputType
=
"Text"
TextSettings-SelectionMode
=
"Single"
AutoPostBack
=
"False"
Delimiter
=
";"
Width
=
"200px"
DataSourceID
=
"SqlDataSource1"
DataTextField
=
"CompanyName"
DataValueField
=
"CompanyId"
DropDownWidth
=
"150px"
EmptyMessage
=
"type company name"
>
</
telerik:RadAutoCompleteBox
>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:MyConnectionString %>" SelectCommand="SELECT [CompanyId], [CompanyName] FROM [Company] ORDER BY [CompanyName]"></asp:SqlDataSource>
Dear Team,
We are using CloudUpload Control and restricted the file size and type. On validation failed we are displaying an alert to the user.
Is it possible to manually clear the File List Panel Items and Upload File Count using Javascript? I tried to remove by using the below lines but count is not getting cleared. Please suggest.
$('.rcuList > li').remove()
$(".rcuFileList").find("ul").remove();
Thanks in advance
Phani.
Hi there, I have a problem when work with RadComboBox. I use:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/checkboxes/defaultcs.aspx
It't OK but when I use with database comboxbox not working at first time run until I click button GET CHECKED ITEM and it works.
Please tell me why
We have a RadGrid which storing the persistence settings into a database. When we change the group, for example grouping on a column, the information is saved into the database, if we navigate away and back this state is restored, perfect.
If we deleted the grouping (or filter) on the database and so return it to it's default state, the application hangs and the IIS worker process maxs out.
We have tried using the file storage method and get the same result. Anything but non-default grid layouts are stored and retrieved perfectly, return back to default cause the application to hang on retrival of the settings.
-------------------------------------------------------------------------------------------
<telerik:RadPersistenceManager ID="RadPersistenceManagerHome" runat="server">
<PersistenceSettings>
<telerik:PersistenceSetting ControlID="TaskListGrid" />
</PersistenceSettings>
</telerik:RadPersistenceManager>
-------------------------------------------------------------------------------------------
protected void Page_Load(object sender, EventArgs e)
{
//RadPersistenceManager RadPersistenceManagerMain = (RadPersistenceManager)Master.FindControl("RadPersistenceManagerMain");
if (IsPostBack)
{
if (Session["UserID"] != null)
{
//RadPersistenceManagerMain.StorageProviderKey = Convert.ToString(Session["UserID"])+"-Home";
//RadPersistenceManagerMain.SaveState();
RadPersistenceManagerHome.StorageProviderKey = Convert.ToString(Session["UserID"]) + "-Home";
RadPersistenceManagerHome.SaveState();
}
}
else if (!IsPostBack)
{
//RadPersistenceManagerMain.StorageProviderKey = Convert.ToString(Session["UserID"])+"-Home";
RadPersistenceManagerHome.StorageProviderKey = Convert.ToString(Session["UserID"]) + "-Home";
try
{
//RadPersistenceManagerMain.LoadState();
RadPersistenceManagerHome.LoadState();
TaskListGrid.Rebind();
}
catch (Exception ex)
{
}
}
Hi.
I have a page that exports an Org Chart to PDF, that works perfectly. However, it can take a couple of seconds for the export to happen. What I'd like to do is disable my export button when clicked until the PDF has been rendered and delivered to the browser, then re-enable the button.
Is there any way I can check to see if the ClientExportManager has completed the export to PDF task?
TypeError: this._popupElement is null
<
telerik:RadWindowManager
ID
=
"RadWindowManager1"
runat
=
"server"
Skin
=
"Sitefinity"
Behaviors
=
"Close"
Overlay
=
"true"
Modal
=
"true"
IconUrl
=
"~/Sitefinity/WebsiteTemplates/App_Themes/1.0/Global/Img/Transparent.png"
VisibleTitlebar
=
"false"
VisibleStatusbar
=
"false"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindow1"
Title
=
"Sofia"
runat
=
"server"
/>
</
Windows
>
</
telerik:RadWindowManager
>
<
script
type
=
"text/javascript"
>
//
<![CDATA[
function ShowVideoOverlay(img) {
var mediaId = img.id;
var channelId = '<%= ConfigurationManager.AppSettings["Videos"].ToString()%>';
var oManager = radopen('<%= ResolveUrl("~/VideoOverlay.aspx?MediaId=' + mediaId + '")%>', null);
oManager.setSize(1200, 750);
oManager.center();
oManager.SetActive();
return false;
}
//]]>
</
script
>
function ShowOverlay(parent, shareId) {
var oManager = GetRadWindow().get_windowManager();
setTimeout(function () {
oManager.open(GetBaseURL() + 'overlays/share-email.aspx?shareId=' + shareId, null);
oManager.setSize(600, 480);
oManager.center();
oManager.SetActive();
return false;
}, 0);
}
Hello,
I'm working for a customer in France which has 2 business applications using 2 differents versions of Telerik ASP.Net Ajax on the same SharePoint WebApplication.
On the first one, all is working properly, no errors are noticed. This one is using the oldest version of Telerik framework.
On the second one, randomly we noticed some errors which are displayed with a correlationid (Sorry, something went wrong). In SharePoint logs, I have this error message:
Application error when access /_layouts/15/PF.KPI_QRVI/HomePage.aspx, Error=Telerik.Web.UI.RadImageAndTextTile with ID='RadImageAndTextTileReporting' was unable to find an embedded skin with the name 'Metro'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false. at Telerik.Web.SkinRegistrar.GetEmbeddedSkinAttributes(ISkinnableControl control, Type controlType, Boolean designTime) at Telerik.Web.SkinRegistrar.RegisterCssReferences(ISkinnableControl control) at Telerik.Web.UI.RadBaseTile.OnPreRender(EventArgs e) at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal()
I try to set EnableEmbeddedSkins=false in the web.config, but some controls are using embeddedskins (I think so, the two applications have been developed by 2 companies, not by myself).
It's very difficult to diagnose this problem for me because that seems to be a random behaviour...
Versions used :
- Telerik.Web.UI.Skins 2014.2.724.45
- Telerik.Web.UI.Skins 2014.3.1024.45
Can you help me ? Thank you !
Is it possible to access controls in the InsertItemTemplate of the GridTemplateColumn? I have the following:
<
telerik:GridTemplateColumn
UniqueName
=
"Company"
HeaderText
=
"Company Name"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblName"
runat
=
"server"
Text='<%#Eval("Name")%>'></
asp:Label
>
</
ItemTemplate
>
<
InsertItemTemplate
>
<
telerik:RadAutoCompleteBox
runat
=
"server"
ID
=
"CompanyList"
EmptyMessage
=
"select company"
></
telerik:RadAutoCompleteBox
>
</
InsertItemTemplate
>
</
telerik:GridTemplateColumn
>
In the code behind I have:
if
(e.Item is GridEditableItem && e.Item.OwnerTableView.IsItemInserted)
{
GridEditableItem item = e.Item
as
GridEditableItem;
RadAutoCompleteBox ab = item[
"Company"
].FindControl(
"CompanyList"
)
as
RadAutoCompleteBox;
}
I also tried:
if
(e.Item is GridDataItem && e.Item.OwnerTableView.IsItemInserted)
{
GridDataItem item = e.Item
as
GridDataItem;
RadAutoCompleteBox ab = item[
"Company"
].FindControl(
"CompanyList"
)
as
RadAutoCompleteBox;
}
In both cases ab returns null. When I placed the control inside ItemTemplate, I get the control. I also tried using FindControl on e.Item and item itself and still get null. Basically I want to add a datasource to the autocomplete box only when inserting...on edit I only show the label. I want to bind the control using Telerik Data Access.