Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
214 views
Hi,

I have a RadRadialGauge inside a Panel and I want to know how can I set the horizontal alignment of the gauge.
I already tried to add a Style to the Panel e.g.( panel1.Style.Add(HtmlTextWriterStyle.TextAlign, "Left"); ) and this works for several telerik's controls. But don't works for RadGauges.

Anyone know how can I do that?

Thanks
Gustavo
Top achievements
Rank 1
 answered on 30 Aug 2013
4 answers
92 views
Just wondering if there are any known issues?

Basically, after selecting a row in RadGrid, with post-back on client select, I am getting reference to the row, and the columns that are hidden / not visible, return a value of "&nbsp" rather than the actual value.

Simply:

GridDataItem item = (GridDataItem)RadGridSchedules.SelectedItems[0];
string id = item["myFieldValue"].Text;

id will be " " with  2013.2.717.40 but when I switch the DLL's to 2012.3.1308.40 it's the expected value.  That's the ONLY change I make back and forth and it fixes / breaks. 

I can't move forward with an update if there are breaks or changes!

Anyone?

Thanks,

Dave
Dave
Top achievements
Rank 1
 answered on 30 Aug 2013
2 answers
150 views
Hi there,

Been looking around lately... couldn't find a way to do it clean.
I have the insert row in mode "InPlace" and one column has a checkbox and other column has a datepicker:
<telerik:GridTemplateColumn DataField="IN_RESLN" HeaderText="Résolu" UniqueName="IN_RESLN" SortExpression="IN_RESLN"
FilterControlWidth="100px" HeaderStyle-Width="120px">
    <ItemTemplate>
        <asp:CheckBox ID="CheckResolution" runat="server" Checked='<%#If(Eval("IN_RESLN") = "True", True, False)%>' Enabled="false" />
    </ItemTemplate>
    <InsertItemTemplate>
        <asp:CheckBox ID="InsertCheckResolution" runat="server" AutoPostBack="True" />
    </InsertItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="DA_RESLN" HeaderText="Date de résolution" UniqueName="DA_RESLN" SortExpression="DA_RESLN"
ShowFilterIcon="true" HeaderStyle-Width="120px" FilterControlWidth="100px"
AutoPostBackOnFilter="true" FilterDelay="2000" CurrentFilterFunction="Contains">
    <ItemTemplate>
        <asp:Label ID="LabelDateResolution" Text='<%#Eval("DA_RESLN", "{0:yyyy-MM-dd}")%>' runat="server"></asp:Label>
    </ItemTemplate>
    <FilterTemplate>
        <telerik:RadDatePicker runat="server" ID="DatePickerDateResolution"></telerik:RadDatePicker>
    </FilterTemplate>
    <EditItemTemplate>
        <telerik:RadDatePicker runat="server" ID="DatePickerDateResolution"></telerik:RadDatePicker>
    </EditItemTemplate>
    <InsertItemTemplate>
        <telerik:RadDatePicker runat="server" ID="DatePickerDateResolution"></telerik:RadDatePicker>
        <asp:CustomValidator ID="DatePickerDateResolution_Validator" runat="server" ErrorMessage="*" ControlToValidate="DatePickerDateResolution" OnServerValidate="DatePickerDateResolution_Validator_ServerValidate"></asp:CustomValidator>
    </InsertItemTemplate>
</telerik:GridTemplateColumn>


I have Registered the ItemCreated event and got something like this:

If TypeOf e.Item Is GridDataInsertItem Then
            Dim chkResln As CheckBox = DirectCast(insertItem("IN_RESLN").FindControl("InsertCheckResolution"), CheckBox)
            Dim dtePickerDaResln As RadDatePicker = DirectCast(insertItem("DA_RESLN").FindControl("DatePickerDateResolution"), RadDatePicker)
            Dim dtePickerDaReslnValidator As CustomValidator = DirectCast(insertItem("DA_RESLN").FindControl("DatePickerDateResolution_Validator"), CustomValidator)
 
            dtePickerDaResln.Visible = chkResln.Checked
            dtePickerDaReslnValidator.Visible = chkResln.Checked
End If


So actually trying to setup the visibility of the datepicker in other column if the checkbox is checked.
At first when itemcreated is hit, the datepicker is not visible since of course, the checkbox is unchecked.
But once i click it to check it, partial postback comes, and it's still considered unchecked. But it's checked in the interface!

So wondering if you guys can hint me up? is there something i could do to make it work server side?

Thanks
Nicolas
Top achievements
Rank 1
 answered on 30 Aug 2013
1 answer
59 views
Hi, I have a RadGrid with editMode = PopUp, and with EditFormType = WebUserControl. In the UserControl I'm showing a RadWindow, in the RadWindow I have a RadGrid with an EntityDataSource... the problem is: the RadGrid in RadWindow doesn't fire any events, like SelectedIndexChanged, PreRender, ItemCreated, etc...

Can you please help me...?
Sami
Milena
Telerik team
 answered on 30 Aug 2013
10 answers
595 views
Is it possible to set the radslider value through javascript.  What i am trying to achive is enter the value in the textbox then the slider should set based on the value in the textbox.
Slav
Telerik team
 answered on 30 Aug 2013
3 answers
100 views
Hello,

We have a TreeView that uses on demand loading with a web service.  When adding nodes to a large collection (300 to 1000) in Internet Explorer 8, we get the "Stop running this script?" message.

We have ShowLineImages disabled, set debug="false", PersistLoadOnDemandNodes set to false, per your suggestions for performance, but we still face the issue.

So I used setTimeout() to throttle the addition of nodes, but I still run into the error at around 1100 nodes.  Without that functionality, it will only add about 350 nodes.

While debugging, I've found that the cause of the error is RadTreeNodeCollection.add() client side, which iterates through the entire collection.  Is this neccessary?  Is there a workaround to adding a node without this iteration?

Not sure how to attach a sample project (only allowing images), but I've got one ready.

Thanks for any help!
Boyan Dimitrov
Telerik team
 answered on 30 Aug 2013
6 answers
839 views
We are using latest Telerik control with Office2007 Theme. We would like to change loading image of this Theme. How can we achieve this? Any css class we need to override or so?
Tarang
Top achievements
Rank 1
 answered on 30 Aug 2013
1 answer
83 views
Hello.  When I click into a combobox on the computer, an "x" shows in the right side of the box which allows me to clear the selection.  On the iPad this X does not appear. Is there a way to make it appear on the iPad as well?
Hristo Valyavicharski
Telerik team
 answered on 30 Aug 2013
3 answers
260 views
Hello

I am using an old version of RadGrid (2008 Q3) but I hope you will still be able to help.

I am trying to access the controls in my NoRecordsTemplate in the code behind but the code I have written is not fired. I am trying to access the template in the ItemCreated event

Protected Sub gridJourneys_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles gridJourneys.ItemCreated
     If TypeOf e.Item Is GridNoRecordsItem Then
 
         Dim norecordItem As GridNoRecordsItem = CType(gridJourneys.MasterTableView.GetItems(GridItemType.NoRecordsItem)(0), GridNoRecordsItem)
 
         Dim l As Label = norecordItem.FindControl("lblNoJourneys")
         l.Text = "hello"
         Throw New Exception("here")
     End If
 
 
 
 End Sub

Here is the template

<NoRecordsTemplate>
There are no journeys on this date.
         <asp:Label runat="server" ID="lblNoJourneys" />
     
</NoRecordsTemplate>

The label text is not set and the exception isn't thrown demonstrating that this code is not reached

Thanks in advance for any help you can provide
andieje
Top achievements
Rank 1
 answered on 30 Aug 2013
4 answers
165 views
I am using the predefined dialogs (radalert, radconfirm and radprompt) from the server methods RadAlert, RadConfirm and RadPrompt of the RadWindowManager.It is possible to set the behavior that pressing Escape will trigger the Cancel button and Pressing Enter will trigger the OK button even if the focus is out of the predefined dialogs.
Siva
Top achievements
Rank 1
 answered on 30 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?