The code below works ok in Chrome but not IE 11
<telerik:RadOrgChart ID="orgOGC" runat="server" GroupColumnCount="4" Skin="Silk" DataSourceID="sdsCommandOrgChart" DataFieldID="User_Id" DataFieldParentID="Supervisor_Id" DataTextField="Full_Name" Orientation="Horizontal" RenderMode="Lightweight" >
<ItemTemplate>
<div >
<div style="text-align: center">
<des:LinkButton runat="server" ID="btnUserDetails" Text='<%#DataBinder.Eval(Container.DataItem, "FullName") %>' OnCommand="btnUserDetails_Command" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "UserId")%>'></des:LinkButton><br />
<%#DataBinder.Eval(Container.DataItem, "JobTitle")%><br />
<%#DataBinder.Eval(Container.DataItem, "Department")%><br />
</div>
</div>
</ItemTemplate>
</telerik:RadOrgChart>
My RadWindows are sizing properly on load. But if I resize my RadWindow manually the content doesn't stretch / grow. Is there a way to do this so if I make my RadWindow full screen that it's content stretches to full screen too?
Thanks,
Sean
Is there a way to completely disable chunk upload or increase the chunk size for the RadCloudUpload control?
I'm using a custom AmazonS3Provider overriding the UploadFile method to modify the file stream before sending it to Amazon. When file is larger than 5mb, it doesn't fire the UploadFile but the UploadChunk and I can't make changes to the file content for each chunk, need to have the whole file stream.
Hi
We're using the SQL DB adaptor approach to store images for use in your RadEditor / ImageManager. Our CMS platform enables us to load thumbnail size versions of those images, however I can only see a way to supply ONE image url through when loading the image list, and no way to modify that URL when a user clicks to load the full size image up in the right hand preview panel. There doesn't seem to be any onLoad type event I can hook to which would allow me to alter that preview image url.
To be clear, the intention here would be to use a thumbnail url for the thumbnail listings of all images, but then to use the full size image version in the right hand side preview panel when they click on an individual image.
Is this possible?
Thanks
I tried to get the ID value from selected row in a RadGrid. But what I try, I keep the value " ".
The data is collected by a WCF webservice by the way.
Below the ASP code I use:
<
telerik:RadScriptManager
ID
=
"RadScriptManager"
runat
=
"server"
EnableHandlerDetection
=
"false"
>
<
Scripts
>
</
Scripts
>
</
telerik:RadScriptManager
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"gridSimCards"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"gridSimCards"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
div
class
=
"pagetitle"
><
asp:Literal
ID
=
"ltrPageTitle"
runat
=
"server"
/></
div
>
<
telerik:RadGrid
ID
=
"gridSimCards"
runat
=
"server"
EnableViewState
=
"true"
AutoGenerateColumns
=
"false"
Skin
=
"Silk"
AllowFilteringByColumn
=
"true"
AllowPaging
=
"true"
PageSize
=
"10"
AllowSorting
=
"true"
OnSelectedIndexChanged
=
"gridSimCards_SelectedIndexChanged"
>
<
ClientSettings
EnablePostBackOnRowClick
=
"true"
EnableRowHoverStyle
=
"true"
AllowColumnsReorder
=
"true"
>
<
Selecting
AllowRowSelect
=
"true"
/>
<
Resizing
AllowColumnResize
=
"true"
ShowRowIndicatorColumn
=
"true"
/>
<
DataBinding
SelectMethod
=
"GetSimCards"
Location
=
"../WebServices/GridDataProvider.svc"
SelectCountMethod
=
"GetSimCardsCount"
MaximumRowsParameterName
=
"rowCount"
StartRowIndexParameterName
=
"rowStart"
SortParameterName
=
"sorter"
SortParameterType
=
"List"
FilterParameterName
=
"filter"
FilterParameterType
=
"List"
/>
</
ClientSettings
>
<
PagerStyle
Mode
=
"NextPrevAndNumeric"
AlwaysVisible
=
"true"
/>
<
MasterTableView
Width
=
"100%"
DataKeyNames
=
"ID"
>
<
Columns
>
<
telerik:GridBoundColumn
UniqueName
=
"ID"
DataField
=
"ID"
HeaderText
=
"#"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Provider"
HeaderText
=
"Provider"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Country"
HeaderText
=
"Land"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"SIMNumber"
HeaderText
=
"SIM-nummer"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"TelephoneNumber"
HeaderText
=
"Telefoonnummer"
DataType
=
"System.String"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ContactPeriodFrom"
HeaderText
=
"Contract van"
DataType
=
"System.DateTime"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ContractPeriodTill"
HeaderText
=
"Contract tot"
DataType
=
"System.DateTime"
></
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"InUse"
HeaderText
=
"In gebruik"
DataType
=
"System.Boolean"
></
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
The code below is use to get the value of the selected ID column:
protected
void
gridSimCards_SelectedIndexChanged(
object
sender, EventArgs e)
{
int
selectedRowIdx = gridSimCards.SelectedItems[0].ItemIndex;
GridDataItem selectedItem = (GridDataItem)gridSimCards.MasterTableView.Items[selectedRowIdx];
string
str = selectedItem[
"ID"
].Text;
}
What am I doing wrong, or what am I missing?
Using a simple RadGrid that has many columns, I am unable to set the header background color using HeaderStyle-BackColor="Blue" in the <telerik:RadGrid tag.
If I have header column name that span one line, the top line it the default light gray color eaeaea from WebResource.
If I have header column names that span two lines, the top line it the default light gray color eaeaea from WebResource, and the bottom line is Blue.
It is rendered in HTML as inline ... <th class="rgHeader" style="background-color: blue;" scope="col">.
I am using v2015.3.1111.45
I can reproduce this buggy behavior in a new project with a basic Radgrid using Northwind in IE and Firefox.
using Telerik UI for ASP.NET AJAX
Telerik.Web.UI
version: 2013.3.1324.40
Visual Studio 2010
I have a RadGrid with a GridClientSelectColumn and AutoGenerateColumns="False" AllowMultiRowSelection="True"
I'm using the SelectedItems collection. It works fine the first time. I redirect to another web page after form submission and all is good. If I go back using the browser back button (ie 11) I then get unexpected functionality. For example: I checked row 1, 3 and 5. Verified that I detected that correctly. Click browser back button. Unselect row 3. I now expect to detect the remaining selected rows -- 1 and 5. Instead I detect 3 selected.
I've tried a number of variations of the code and can't get expected functionality. I've tried MasterTableView.Items.
I've tried
CheckBox chk = (CheckBox)item["GridClientSelectColumn1"].Controls[0];
if (chk.Checked) ...
Nothing works.
I'm sorry I have not posted a stripped down sanitized version of the code. I won't have time to do that until next week.
I have a RadWindow that scrolls vertically because it’s
content is long and model property is set true.
But it is not maintaining the scroll position in chrome but
it’s working fine with IE and Mozilla.
Thanks
Vikram Singh
<
telerik:RadWindow
ID
=
"RadWindow1"
runat
=
"server"
VisibleOnPageLoad
=
"true"
Modal
=
"true"
VisibleStatusbar
=
"false"
>
<
ContentTemplate
>
<
telerik:RadTabStrip
ID
=
"RadTabStrip1"
runat
=
"server"
MultiPageID
=
"RadMultiPage1"
SelectedIndex
=
"0"
>
<
Tabs
>
<
telerik:RadTab
Text
=
"Tab1"
PageViewID
=
"RadPageView1"
>
</
telerik:RadTab
>
<
telerik:RadTab
Text
=
"Tab2"
PageViewID
=
"RadPageView2"
>
</
telerik:RadTab
>
<
telerik:RadTab
Text
=
"Tab3"
PageViewID
=
"RadPageView3"
>
</
telerik:RadTab
>
</
Tabs
>
</
telerik:RadTabStrip
>
<
telerik:RadMultiPage
ID
=
"RadMultiPage1"
runat
=
"server"
SelectedIndex
=
"0"
>
<
telerik:RadPageView
ID
=
"RadPageView1"
runat
=
"server"
>
Page 1
<
telerik:RadEditor
ID
=
"RadEditor1"
runat
=
"server"
EditModes
=
"Design, Preview"
Skin
=
"Outlook"
EnableResize
=
"true"
>
<
Content
>
Editor content 1
</
Content
>
</
telerik:RadEditor
>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView2"
runat
=
"server"
>
Page 2
<
telerik:RadEditor
ID
=
"RadEditor2"
runat
=
"server"
EditModes
=
"Design, Preview"
Skin
=
"Outlook"
EnableResize
=
"true"
>
<
Content
>
Editor content 2
</
Content
>
</
telerik:RadEditor
>
</
telerik:RadPageView
>
<
telerik:RadPageView
ID
=
"RadPageView3"
runat
=
"server"
>
Page 3
<
telerik:RadEditor
ID
=
"RadEditor3"
runat
=
"server"
EditModes
=
"Design, Preview"
Skin
=
"Outlook"
EnableResize
=
"true"
>
<
Content
>
Editor content 3
</
Content
>
</
telerik:RadEditor
>
</
telerik:RadPageView
>
</
telerik:RadMultiPage
>
</
ContentTemplate
>
</
telerik:RadWindow
>