Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Hello,

I have a RadAutoCompleteBox control within a RadGrid.  I am able to bind the control during the page load.  Although, when I start typing in the RadAutoCompletebox, I receive the following message.



Grid HTML:
 <telerik:GridTemplateColumn HeaderText="Media Title" UniqueName="MediaTitle" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="330px"  ItemStyle-Wrap="false">
                <ItemTemplate>
                   <telerik:RadAutoCompleteBox ID="cboMaster" InputType="Text" runat="server" Filter="Contains" Width="300px" DropDownWidth="250px">
                    </telerik:RadAutoCompleteBox>
                  </ItemTemplate>
                </telerik:GridTemplateColumn>

RadAutoCompleteBox Binding (Page_Load):
 cboMaster.DataValueField = "ID";
 cboMaster.DataTextField = "Title";
 cboMaster.DataSource = GetMediaSourceTitles();
 cboMaster.DataBind();

What am I missing so users can type in the RadAutoCompleteBox and display the matching entries?

Thank You in Advance!
Nencho
Telerik team
 answered on 05 Apr 2013
1 answer
92 views
Hi,

I have a RibbonBar menu that I am dynamically populating with a list of items.  Over time, this list has grown and now the list is going beyond the height of the browser, causing some items to be hidden and/or not easily accessible.  Is there a way I can correct this, maybe with a scroll or multiple columns, or something else? 

Thanks!
Richard
Kate
Telerik team
 answered on 05 Apr 2013
5 answers
161 views
Hi I have a 'Save' button on my page, and would like to make it refresh its url, so when I have created a new form from a grid, it can get its id, and not be '0'. I have a attached a sample and would like for it to change the circled part to its new ID when clicked. In sql DB it is set up to automacially increase when saved. It already does that, but in order to get the url, I have to manually close the radwindow and open it again from the grid. how can I do that?
Marin Bratanov
Telerik team
 answered on 05 Apr 2013
1 answer
257 views

I have a RadGrid that implements usercontrols as model popups for adding and editing items within the grid.  When the user presses the submit button on the usercontrol, the Update command is sent back to the grid.  The update is processed and if an error occurs, I cancel the update and show a RadNotification as a modal popup.  The RadNotification shows and I create a div with a background to make it modal.  So, the RadNotification is modal over the usercontrol which is modal over the grid.

 

This all works as expected in FireFox 19.  When I try it in IE8, the RadNotification is placed underneath the modal div and the usercontrol modal.  Also, the RadNotificaiton is always located at the bottom left of the screen below the rest of the page.

 

Why does this not work on IE8?

Marin Bratanov
Telerik team
 answered on 05 Apr 2013
4 answers
327 views
You know what would be nice? To be able to specify a title for a radalert box without having to specify the window sizes.

  radalert("You are doing it wrong", "Warning");


It'd be nice to just leave radalert to figure out the best size.

Just a thought

--
Stuart
Marin Bratanov
Telerik team
 answered on 05 Apr 2013
1 answer
117 views

Greetings - I host user control inside an update panel, this user control then contains sub user controls, I want to create something like a drop down load on demand tool tip using the following code.  It doesn't call the instances ajax update but i think the parent's.  How do I get this to work?


<
asp:UpdatePanel runat="server" UpdateMode="Conditional">

<ContentTemplate>

<telerik:RadToolTipManager runat="server" ID="MyRadToolTipManager1" Position="Center" RelativeTo="Element" Animation="Resize"

HideEvent="ManualClose" ShowEvent="OnMouseOver" ShowCallout="true"

RenderInPageRoot ="true"

Skin="Default" OnAjaxUpdate="OnMyRadToolTipManagerAjaxUpdate1" AutoTooltipify="false" >

<TargetControls>

<telerik:ToolTipTargetControl TargetControlID="MyLabel" Value="MyLabel" />

</TargetControls>

</telerik:RadToolTipManager>

<asp:Label runat="server" ID="MyLabel" Text="Content" />

</ContentTemplate>

</asp:UpdatePanel>

Marin Bratanov
Telerik team
 answered on 05 Apr 2013
3 answers
362 views
Hello Sir/Madam,

I am currently using  rad grid in my project and i am facing problem in Edit template as u can see in my first screen shot that i have attached named(Telerik_Rad_grid1) this is your design that i actully want in my project after click on edit button and here you are using bound controls and i am using template controls and using asp controls under edit template as u can see in my second screen shot of my grid named(Telerik_Rad_grid2) whats the design at run time so please tell me how can i make similar like your's design and i also have used all EditFormSetting But no result so please tell me asap.

Thanks in advance
Jayesh Goyani
Top achievements
Rank 2
 answered on 05 Apr 2013
3 answers
134 views
Hi, based on the docs, MultiColumn headers are not supported with FrozenColumns.

So, to overcome this, I created each column as a templated column and wanted to place the "MultiColumn" in the top row of the table as shown below.  This kind of works as long as this appears within the boundries of the radGrid, however, as I scroll horizontally to the left, "Company Data" appears outside the grid.  I understand why due to the absolute + z-index style, but I thought there may be a way to have it layered to avoid this. (See screen shots for example)

    <telerik:GridTemplateColumn  UniqueName="Column2" SortExpression="Column2" >
            <HeaderTemplate>
                <table>
                    <tr>
                        <td>
                          <span style="position:absolute; margin-left:-10px; z-index:5">Company Data</span>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Column 2
                        </td>
                    </tr>
                </table>
        </HeaderTemplate>
....
Marin
Telerik team
 answered on 05 Apr 2013
1 answer
162 views
Hello

Is there a way to programmatically check server-side for an ajaxsetting that may or may not already exist in the AjaxSettings collection for the ajax manager? I thought a function like this one should do it, to create a setting object (='mytestsetting') against which then you could use it as a parameter to match against myajaxmanager.AjaxSettings.Contains(mytestsetting), but should I expect it to recognize that a matching setting with the exact same ajaxified source and updated target already exist?

        Public Function CheckForExistingAjaxSetting(ByRef ajaxifiedctrl As Control, ByRef updatedctrl As Control, ByRef rlp As RadAjaxLoadingPanel) As AjaxSetting

            Dim setting As New AjaxSetting()
            Dim target As AjaxUpdatedControl = Nothing
            If Not rlp Is Nothing Then
                target = New AjaxUpdatedControl(updatedctrl.UniqueID, rlp.UniqueID)
            Else
                target = New AjaxUpdatedControl(updatedctrl.UniqueID, Nothing)
            End If
            setting.UpdatedControls.Add(target)
            setting.AjaxControlID = ajaxifiedctrl.UniqueID
            Return setting

        End Function


 somewhere else in server code:

       Dim mytestsetting As AjaxSetting = CheckForExistingAjaxSetting(foo, bar, loadingpanel)
       If
Not (myajaxmanager.AjaxSettings.Contains(mytestsetting)) Then ....
           
.... add the setting programmatically
       End If


Could you say if there is a better way to do this that works?

Thankyou

Maria Ilieva
Telerik team
 answered on 05 Apr 2013
1 answer
141 views
I have a dynamic menu to which I want to add a static item. So I create my static menu item (has some html for layout, but also a User Control embedded in it all within an Item Template) and set AppendDataBoundItems="true". Excellent. It works.

Unfortunately my static item is in Index Position=0. I get that the data items are "appended", but I would like to put my static item last (after all of the dynamic Items). I could do it in code-behind, but I wonder if you know of an easier way (without having to create controls)?

Kate
Telerik team
 answered on 05 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?