"DataImageUrlField" to identify the image url... is there any other way of doing this in the radgrid :)<telerik:RadChart ID="RadChart1" runat="server" Height="100px" Width="180px" ChartTitle-Visible="false" Legend-Visible="false" SeriesOrientation="Horizontal" > </telerik:RadChart>protected void RadGrid1_ItemDataBound(object source, GridItemEventArgs e){ if (e.Item is GridDataItem) { // retrieve the original values from the database DataSet dsOriginal = new DataSet(); string strErrorText = string.Empty; GridDataItem dataItem = (GridDataItem)e.Item; string strChannelId = dataItem.GetDataKeyValue("ChannelId").ToString(); // RadGrid1.MasterTableView.DataKeyValues[e.Item.ItemIndex]["ChannelId"].ToString(); this.GetChannelDetail(out dsOriginal, out strErrorText, strChannelId); DataTable dtOriginal = dsOriginal.Tables["Channel"]; DataRow drOriginal = dtOriginal.Rows[0]; GridColumn gridColumn = (GridColumn)dataItem.OwnerTableView.Columns.FindByUniqueName("columnRelease"); (gridColumn as GridButtonColumn).ConfirmText = string.Format("Are you sure you want to release channel {0} on FMIS Server {1}?", Convert.ToString(drOriginal.ItemArray[2]), Convert.ToString(drOriginal.ItemArray[1])); }}In order to be 508 compliant, I have a RadDock with a TitlebarTemplate so that the title can be marked up as an h2. Another 508 requirement is that when the dock is refreshed (using a button at the bottom of the dock), focus is set to the dock's title. I haven't yet been able to achieve this, and was hoping somebody might be able to lend a hand.
ASPX:
<telerik:RadDock runat="server" ID="rdDock" DefaultCommands="None" EnableDrag="false"> <TitlebarTemplate> <h2 runat="server" id="hTitle" class="rdTitle" tabindex="0">Dock Title</h2> </TitlebarTemplate> <ContentTemplate> <!-- Dock Content --> <!-- ... --> <!-- Refresh Button --> <asp:Button runat="server" ID="btnRefresh" Text="Refresh" /> </ContentTemplate> </telerik:RadDock> Protected Sub btnRefresh_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnRefresh.Click 'Section 508 requires that focus is returned to the control 'rdDock.TitlebarContainer.Controls(0).Focus() 'rdDock.TitlebarContainer.Focus() hTitle.Focus() End SubHello,
I want to disable Add New Record and Refresh link which on the top of the RadGrid. Actually I have some limitations and so i can not implement ''CommandItemTemplate' to do this.
If there is any other way please guide me.
Thanks & Regards,
Hardik.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">body, form, html { height: 100%; margin: 0px; padding: 0px; }Neither of which work, whereas the native .NET dropDownList will allow something similar.ddlPosition.FindItemByValue(User.JobPosition.ToString))ddlPosition.Items.Insert(0, New ListItem(User.JobPosition.ToString, User.JobPosition.ToString))
We are using RadScriptManager with the Ajax Proxy. We are experiencing some issues if users are quick to press buttons (I am thinking prior to the page completely loading).
For example,
The below code will do a postback if clicked quickly versus if you wait for the page to fully load. If you wait for the page to fully load it does what it's suppose to do, and just run the local javascript.
<telerik:RadButton id="addLocationButton" runat="server" text="Add Location" width="100" OnClientClicked="UpdateQuickPanel" AutoPostBack="false" />