I've read several threads on this, but still cannot seem to get this to work.
I have a LogIn button on a RadGrid that I only want to have a confirmation on in a specific situation. I've tried several different ways, this seems to get the closest, but I am still not seeing the popup confirmation dialog. Any help is greatly appreciated.
Relevant code below.
Protected Sub grdAccounts_ItemDataBound(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles grdAccounts.ItemDataBound
If TypeOf e.Item Is Telerik.Web.UI.GridDataItem Then
Dim item As Telerik.Web.UI.GridDataItem = DirectCast(e.Item, Telerik.Web.UI.GridDataItem)
If ddlSiteType.SelectedValue.StartsWith("LIVE") Or ddlSiteType.SelectedValue.StartsWith("DR") Then
Dim btnLogin As Button = CType(item("LogIn").Controls(0), Button)
If btnLogin IsNot Nothing Then
btnLogin.Attributes.Add("ConfirmTitle", "Continue?")
btnLogin.Attributes.Add("ConfirmText", "You are entering a LIVE production site. Continue?")
btnLogin.Attributes.Add("ConfirmDialogType", "Classic")
End If
End If
...
End If
End Sub
I see the following error message popup when trying to upload a file that is not a supported type:
"The size of the uploaded file exceeds max size allowed
The extension of the uploaded file is not valid. Please, provide a valid file!"
We find this text confusing and would like to change it. Is there a way to change this text?
Hello,
Is there a way to loop through only the displayed rows of a radgrid, preferably on the client-side with javascript?
Thanks,
Johnathan
Hi,
I am using the aggregates context menu to allow the user to choose their own aggregate functions, however, 1 particular column should not allow aggregation as each row is potentially showing a value in a different currency.
Is there any way that I can disable aggregates for this column only? There doesn't appear to be any column setting relating to this.
Thanks in advance,
Mike.
Hi, I'm modifying an old VS project, it uses .net 2.0 and I normally add my telerik RadComboBox and there is no problems...
The thing is that in a different PC, there is an error, the other PC has the same telerik version and the same visual studio version, this is the error:
Assembly 'Telerik.Web.UI, Version=2016.2.607.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
Then I researched and I realized about the project being in the past in .net 2.0 and I guess that for the future all references to old System.Web.Extensions and lower .net should be replaced with newer versions, but the thing is that I don't get why in my PC i don't get the error and in other PCs the error is there even if I add the telerik control in those PCs, i.e., if I go with the project to other PC and add the telerik RadComboBox there, I get the error anyway...
I'ts kind of weird, please any help or at least some explanation.
Thanks in advance.
Using the following in Footer, but the menu expands down not up:
<
telerik:RadMenu
runat
=
"server"
ID
=
"FooterNavMobile"
RenderMode
=
"Mobile"
Skin
=
"BlackMetroTouch"
DefaultGroupSettings-ExpandDirection
=
"Up"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"advertise"
NavigateUrl
=
"advertise"
Value
=
"advertise"
/>
<
telerik:RadMenuItem
Text
=
"contact us"
NavigateUrl
=
"help/contactus"
Value
=
"contactus"
/>
<
telerik:RadMenuItem
Text
=
"feedback"
NavigateUrl
=
"help/feedback"
Value
=
"feedback"
/>
<
telerik:RadMenuItem
Text
=
"help"
NavigateUrl
=
"help/contactus"
Value
=
"help"
/>
<
telerik:RadMenuItem
Text
=
"terms & conditions"
NavigateUrl
=
"help/termsandconditions"
Value
=
"conditions"
/>
<
telerik:RadMenuItem
Text
=
"privacy policy"
NavigateUrl
=
"help/privacypolicy"
Value
=
"privacypolicy"
/>
<
telerik:RadMenuItem
Text
=
"disclaimer"
NavigateUrl
=
"help/disclaimer"
Value
=
"disclaimer"
/>
</
Items
>
</
telerik:RadMenu
>
Hello,
I have some interesting problem with RadGrid.
My Rad grid has export buttons (CSV, Excel etc).
Clicking them invokes ItemDataBound event handler attached to the RadGrid.
protected
void
rgManagementSummaryReport_ItemDataBound(
object
sender, GridItemEventArgs e)
{
if
((e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem) && e.Item.DataItem !=
null
)
{
Button btnPreview = (Button)gdi.FindControl(
"btnPreview"
);
}
}
I have following template column. Initially it had RadButton btnSearch instead of Button btnSearch. It appears that FindControl("btnSearch") would only find asp.net built in Button but not RadButton. I looked at Controls collection of Preview column and saw that it only had my HyperLink and some Literal ones. That's why I had to swith to a regular Button. But our ueb site's pages utilize RadControls everywhere so I would like to be able to return RadButton there and make it find.
Btw regular RadGrid databinding works ok and RadButton is found there as always, so it must be something releated to these Export buttons.
Thanks
<
telerik:GridTemplateColumn
UniqueName
=
"Preview"
>
<
ItemTemplate
>
<%-- <
telerik:RadButton
ID
=
"btnPreview"
runat
=
"server"
Visible
=
"false"
Text
=
"Preview"
OnClick
=
"btnPreview_Click"
>
<
Icon
PrimaryIconCssClass
=
"rbConfig"
></
Icon
>
</
telerik:RadButton
> --%>
<
asp:Button
OnClick
=
"btnPreview_Click"
runat
=
"server"
ID
=
"btnPreview"
Text
=
"Preview"
Visible
=
"false"
/>
<
asp:HyperLink
ID
=
"hlReportView"
runat
=
"server"
Visible
=
"false"
Target
=
"_blank"
>View Report</
asp:HyperLink
>
</
ItemTemplate>
</
telerik:GridTemplateColumn
>
I want to create linked textboxes which I show in the attached picture with red marked. Can anyone give me any suggestion for how do such kind of textboxes.
Thanks in advance.
If I have a RadGrid which has a column that can have A, B, C or blank displayed in the column and I enable it to be a filtered column with a check box.
Can I assign a value to value to show up in the popup menu for blanks?
so for example instead of
[ ]
[ ] A
[ ] B
[ ] C
I would see the menu displayed as
[ ] Empty
[ ] A
[ ] B
[ ] C