Hi,
I have a page that contains a RadEditor control that shows the XHTML Validator button. My problem is that the web server the site is running on in prod has blocked outgoing traffic except through a proxy. Without the proxy details, the connection fails and I get an error page displayed.
How can I specify a proxy url and port to be used by RadEditor or more specifically, the XHTML Validator when performing it's checks?
Thanks
I have a page which contains a batch mode grid (created declaratively in the aspx file) and all of the code to support the grid. This grid page is contained within an IFrame in various pages on the site. Depending upon which page is hosting the IFrame, we want to override the behavior of the grid so that the columns are read-only. The default behavior allows the columns to be edited, but when the grid is included within certain pages, we want all of the columns to be read-only.
Using (column as GridBoundColumn).ReadOnly = true; during the server-side PreRender event can fail if the column type is GridTemplateColumn (with Object reference not set). That said, I know I can respond to the BatchEditOpening event and use args.set_cancel(true) to prevent users from editing cells, but was hoping for a simple server-side solution to change the column to read-only.
For the moment, I am responding to the PreRender event and testing for ColumnType before setting the column to read-only. That just happens to work for me since the only GridTemplateColumn column is declaratively set to ReadOnly and all of the other column types seem to work. However, that seems error prone. Is there a way to easily set every column to read-only in my c# code?
Thanks.
Hi,
When I use the bootstrap theme, the columns run over each other as in the screen shot.
The same grid using any other theme looks fine.
Hello
I have enabled All in the paging options with the RadGrid using this code:
<PagerStyle EnableAllOptionInPagerComboBox="true" />
How would I default the paging to "All"? I tried PageSize="All" in the RadGrid tag but it throws an error.
Cannot create an object of type 'System.Int32' from its string representation 'All' for the 'PageSize' property.
<
telerik:RadComboBox
ID
=
"drpCollectingScript"
runat
=
"server"
Height
=
"150px"
Width
=
"225px"
DropDownWidth
=
"360px"
HighlightTemplatedItems
=
"true"
Filter
=
"Contains"
AutoPostBack
=
"False"
MarkFirstMatch
=
"true"
OnClientKeyPressing
=
"setHighlightedItem"
OnClientBlur
=
"setId"
OnClientFocus
=
"toggleRadCombo"
ViewStateMode
=
"Enabled"
>
<
HeaderTemplate
>
<
table
style
=
"width: 340px"
cellspacing
=
"0"
cellpadding
=
"0"
>
<
tr
>
<
td
style
=
"width: 340px;"
>
<
asp:Label
ID
=
"lblCSCode"
runat
=
"server"
>Code</
asp:Label
>
</
td
>
</
tr
>
</
table
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
style
=
"width: 340px"
cellspacing
=
"0"
cellpadding
=
"0"
>
<
tr
>
<
td
style
=
"width: 340px;"
>
<%# DataBinder.Eval(Container, "Attributes['Code']")%>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
If
Me
.IsPostBack =
False
Then
Dim
scripts =
New
CatalogService().GetAllScriptTips()
For
i
As
Integer
= 0
To
scripts.Count - 1
Dim
item
As
New
RadComboBoxItem()
item.Text = scripts(i).Code
item.Value = scripts(i).ScriptTipId
item.Attributes.Add(
"Code"
, scripts(i).Code)
item.Attributes.Add(
"Script"
, scripts(i).ContentDesign)
drpCollectingScript.Items.Add(item)
item.DataBind()
Next
End
If
If you look at the first bullet point on this page http://docs.telerik.com/devtools/aspnet-ajax/visual-stylebuilder/overview it seems to indicate that it should be very easy to change the primary color scheme used in a theme, which to me sounds as though it should apply to all controls in that theme. If this is the case can you explain to me how this would work?
Thanks.
Hi,
In my app, I use all of the telerik themes (app lets user select which theme to use.) and I use RadWindows quite heavily.
And in all the other themes, the radwindow shows scrollbars vertically and horizontally correctly when needed.
In bootstrap theme, when I first open the window, there are never scrollbars, but if I maximize the window then restore size of window, the scrollbars are there.
Also, if there are no scrollbars and I do something that causes the page inside the window to postback, the scrollbars will come up.
What's the deal? I need those scrollbars on first load!
Thanks!
Hi Team,
We are using Telerik 2014.2.724.40, while opening RadWindow using radopen method from client side, it is not opening properly. The window controls buttons are out of the window and getting vertical scroll bar.
Can you please suggest if there is any fix or workaround for this.
Thanks,
Suresh.
Hello,
I am using a telerik scatter chart like this one my page http://demos.telerik.com/aspnet-ajax/htmlchart/examples/charttypes/scatterchart/defaultcs.aspx
I need to change the background to a gradient like this http://www.strangeplanet.fr/work/gradient-generator/?c=9:FF0000:FFEE00:00FC15
Is this possible? I currently have it hacked where I set the background property to transparent and put a gradient "image" in the back.
Is there a way to use CSS, HTML, or server side script to change the gradient? I also need it to be diagonal.
Please help.
Max
I want to delete the selected uploaded file from the list on some condition.
Actually I want to allow only PDF files to be uploaded. As soon as I upload I am able to track the file extension and I am able to popup a message that this file is not valid but that file is uploaded and shows RED marked in the uploaded file list on top. I want that file should be removed from the list at that time itself.
Please help me out.