Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
48 views
Hi,

I have 4 sliders within a RadPanelItem which is initially set to collapsed. when ever I expand it the 

OnValueChanged event fires for each of the sliders. is there any way for me to disable this. it seems that this event gets fired before the item click event of the radPanel if it was the other way around i could simply check for this and stop my other events.

Is there anything I can do or any guidance you can offer for this.

Thanks in advance.

Paddy

Tsvetie
Telerik team
 answered on 07 Aug 2009
4 answers
135 views
has anyone had problems dragging components onto webforms with the Q3 2008 update ?
When I try to do this in code view I get an error  'The operation could not be completed'
in code view, nothing happens at all !
sbe
Top achievements
Rank 1
 answered on 07 Aug 2009
2 answers
137 views
I am using the Telerik Skin now in 2008.03.1105.35 realease in my grid along with the skin Telerik.  The problem I have is that I like most of the skin, I just want to change the SelectedItemStyle-BackColor="#efefef" but it still shows the green selected row.  How can I override the color for the selected row in the skin?
Mike
Top achievements
Rank 1
 answered on 07 Aug 2009
2 answers
143 views
I have the following RaGrid, which displays the CommanItems "Add New Record" and "Refresh" in the Grid at TopAndBottom:
 

 

<MasterTableView Width="98%" ShowFooter="True" CommandItemDisplay="TopAndBottom">    
<CommandItemTemplate>    
    <asp:LinkButton ID="btnAddNewRecord" runat="server" CommandName="AddNewRecord" Style="vertical-align: bottom">    
        <asp:Image ID="imgAdd" runat="server" ImageUrl="~/App_ThemesCustom/images/AddRecord.gif" />   
        &nbsp;&nbsp;Add  New Record  
    </asp:LinkButton> &nbsp;&nbsp;    
    <asp:LinkButton ID="btnRefresh" runat="server" CommandName="Refresh" Style="vertical-align: bottom">    
        <asp:Image ID="imgRefresh" runat="server" ImageUrl="~/App_ThemesCustom/images/Refresh.gif" /> &nbsp;Refresh  
    </asp:LinkButton>   
</CommandItemTemplate>  

Under specific curcimstances I'd like to hide the "Add New Record" LinkButton and tried to do that on DataBound:
 
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)   
{  
    if(e.Item is GridCommandItem)   
    {  
        if (!UserHasEditAccess())   
        {   
            this.ParentPage.FindControlRecursive(this"btnAddNewRecord").Visible = false;  
        }  
    }  

 


This code works to a degree. It hides the "Add New Record" button in the "Top" of the grid, but it is still visible on the "Bottom" of the grid.

 

 

Any idea why it's not making it invisible in both the "Top" and the "Bottom"?

 

 

 

 

 

 

 

Stephan
Top achievements
Rank 1
 answered on 07 Aug 2009
5 answers
467 views
Hi

Please can you tell me how i would bind a drop down list within the form template of an edit form settings in the code behind. I have seen how to do it in the aspx like so


                                         <td> 
         <asp:DropDownList ID="ddlTOC" runat="server" SelectedValue='<%# Bind("TitleOfCourtesy") %>' 
                 DataSource='<%# (new string[] { "Dr.", "Mr.", "Mrs.", "Ms." }) %>' TabIndex="7" 
     AppendDataBoundItems="True">  
        <asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem> 
  </asp:DropDownList></td

but not in the code behind

many thanks
Yavor
Telerik team
 answered on 07 Aug 2009
1 answer
159 views
Hi,
I've added the telerki RadColor picker in my aspx file ( in sharepoint). I've given showicon = true. But in the page, when the icon is clicked the palette is not appearing at all. I've added RadScriptManager in the file.

<telerik:RadScriptManager ID = "radSccriptManager_MppCal" EnableHandlerDetection = "false" runat = "server"></telerik:RadScriptManager>

The radpicker is given as follows:

<tr>
         <td style="width:100%" valign="middle">
            <span class="cpdescriptiontext">Pick Event Color</span>
        </td>
    </tr>    
    
    <tr>
        <td>
            <telerik:RadColorPicker Skin = "WebBlue" ShowIcon = "true" PreviewColor = "true" ShowEmptyColor = "true" runat = "server" Width = "200px"  Preset = "Default" />
        </td>
    </tr>

The script manager is given in the masterpage Default.master. I've added the colorpicker in the aspx file which inherits from that master page. What could be the problem?



Tsvetie
Telerik team
 answered on 07 Aug 2009
2 answers
154 views
Hi!

I've created a composite server control which is composed by an ASP Checkbox and a RadDatePicker. The problem is that in IE8 I can visualize the RadAjaxLoadingPanel over my Composite Control ajax update only when the CheckBox and the RadDatePicker are not inline.

How can I make the RadAjaxLoadingPanel appear over my Composite Control as it happens with IE7 and FF?


Regards,

Rodrigo S.
Rodrigo Selada
Top achievements
Rank 1
 answered on 07 Aug 2009
0 answers
72 views
Hello,
I am trying the Functionality that selected text replaced by another text or symbol. But when there are more similar words at that time it replaces the first word.
here i tried the editor.GetSelection().GetRange(); but it does not support
Please provide the solution


Thanks,
Atul Deshmukh
Atul Deshmukh
Top achievements
Rank 1
 asked on 07 Aug 2009
1 answer
89 views

I have a RadGrid column on the second level hierarchy with ToolTips and it works very nice. However, as soon I filter the grid do rows then it look like the ToolTips still referenced somehow to none-filtered grid. Did anybody experience this problem?

Here is how I set the key for the ToolTips object on my second hierarchy level:

    Protected Sub grdLineGrid_ItemDataBound(ByVal sender As Object, ByVal e As GridItemEventArgs)  
        If e.Item.ItemType = GridItemType.Item OrElse e.Item.ItemType = GridItemType.AlternatingItem Then  
            Dim target As Control = e.Item.FindControl("LinePayment")  
            If Not [Object].Equals(target, Nothing) Then  
                If Not [Object].Equals(Me.RadToolTipManager1, Nothing) Then  
                    Dim currentRow As DataRowView = DirectCast(e.Item.DataItem, DataRowView)  
                    Me.RadToolTipManager1.TargetControls.Add(target.ClientID, currentRow.Row("Inv_Doc_No").ToString() + "|" + currentRow.Row("Pay_Item").ToString() + "|" + currentRow.Row("Inv_Type").ToString(), True)  
                End If  
            End If  
        End If  
    End Sub 

When my OnAjaxUpdate event fires and the rows are filtered then the ToolTipUpdateEventArgs.Value is always a first row on the given page, not the one I move mouse over.

 

Svetlina Anati
Telerik team
 answered on 07 Aug 2009
3 answers
116 views
Hi,

I'm trying to customize one checkbox on a page using the FormDecorator. I've created my own css and the checkbox look good when the text is align to the right but the styles are not applied when the align is to the left (for the text)

Other infos : Single checkbox, no checkboxlist. Only one check box on the page with the text align to the left

I didn't found anything in the documentation about the customization of the formdecorator.

Many thanks in advance for your help and support.
Martin
Telerik team
 answered on 07 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?