Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
214 views
Hi,
    In my RadGrid, I have a Custom RadToolbar for implement my actions. Inside this toolbar I have a RadButton
<telerik:RadToolBarButton   Text="<%$ Resources:AdminLoc, btnAddDailyEquipment %>"
ImageUrl="~/Web/Images/Icons/ress_equipement.gif"
Group="DailyEquipment" CommandName="AddDailyResource" CommandArgument="DailyEquipment"
Value="DailyEquipment" Visible="<%# KeyValueTools.GetActivitekRepentignyDev %>">


My  Toolbar implement the OnClientButtonClicked attribute who calling a JS function with this code
case "AddDailyResource":<br> $find('<%= RgPanelSummary.ClientID%>').get_masterTableView().fireCommand(args.get_item().get_commandName(), argument);<br>        break;


If I have more than one element in my grid. The server-side ItemCommand is fired

But my problem occuring when I have no data in my RadGrid. The server-side called the ItemDataBound (RadGrid), the PageLoad, PageRender, etc. But the ItemCommand is never called. I have this problem for each custom action "Print, DailyEquipement". But If I using a default Radgrid action (DeletedSelected, InitInsert) the ItemCommand is called.

Can I resolve my problem? And If Yes how ?
Thank you and have a good day



Eyup
Telerik team
 answered on 01 Apr 2019
7 answers
237 views
Hi,

Why isn't there a check/uncheck all event for the combo box?

If I need to have a second related form element I can't do it from this as there is no JS event for when items are checked.  Yes you can get individual checks but there is no event raised when all are done. 

From looking at the forums this is appears to have been going on for a while.  Please advise on a way to get notified on the client when the check all box is checked.  

Thanks,

Jon
Akun
Top achievements
Rank 1
 answered on 31 Mar 2019
3 answers
247 views

Hello

I am looking for a little assistance in developing Facebook like notification counts like the attached image.  I have the image displaying properly, just didn't know if there was any functionality built with the menu item to do something like the attached image.

Thanks in advance,

Tom

 

Rumen
Telerik team
 answered on 29 Mar 2019
1 answer
138 views

Hello,

I am using a template form on which I have a dropdown list. Depending on the selection, I need to hide or show a couple of different labels/date pickers. While I can access the dropdown list using the SelectedIndexChanged as follows, can you please help me figure out how I can show/hide the controls? I have found similar questions asked before but have yet to found a clear response. Really appreciate your help as I've put in quite a bit of time figuring this out.

 protected void ddDuration_SelectedIndexChanged(object sender, DropDownListEventArgs e)
        {
            RadDropDownList ddDuration = (RadDropDownList)sender;
            sDuration = (string)ddDuration.SelectedValue;
            if (sDuration == "0")
            {
                //Need to show lblStartTime and timeStart, and Hide lblFullDate. dateFull 
            } 

           else

           {

              //Need to show lblFullDate, dateFull and Hide lblStartTime and timeStart.

           }
        }

 <telerik:RadDropDownList Width="16.8em" ID="ddDuration" runat="server" OnSelectedIndexChanged="ddDuration_SelectedIndexChanged"
                                        AutoPostBack="true">
                                        <Items>
                                            <telerik:DropDownListItem Text="Please Select" Value="">
                                            </telerik:DropDownListItem>
                                            <telerik:DropDownListItem Text="Partial" Value="0">
                                            </telerik:DropDownListItem>
                                            <telerik:DropDownListItem Text="Full Day" Value="1">
                                            </telerik:DropDownListItem>
                                        </Items>
                                    </telerik:RadDropDownList>                                   
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:Label Font-Bold="true" ID="lblFullDate" runat="server"
                                        Text="FullDay Closure Date: "></asp:Label>
                                </td>
                                <td>
                                    <telerik:RadDatePicker ID="dateFull" runat="server" RenderMode="Classic"></telerik:RadDatePicker>
                                </td>
                            </tr>
                            <tr>
                                <td> 
                                    <asp:Label Font-Bold="true" ID="lblStartTime" runat="server"
                                        Text="Partial Closure Start Time: "></asp:Label></td>
                                <td>                                    
                                    <telerik:RadDateTimePicker Width="21.2em" RenderMode="Classic"
                                        runat="server" ID="timeStart"></telerik:RadDateTimePicker>                                        
                                </td>
                            </tr>

 

 

 

 

 

 

Attila Antal
Telerik team
 answered on 29 Mar 2019
1 answer
93 views

Hi all

I have a this problem: I don't find RadToolTip in Telerik.Web.UI client side. I find all other controls but not RadToolTip.

I recivede this error: Telerik.Web.UI.RadToolTip is undefined

Why?

Thank you

Rumen
Telerik team
 answered on 29 Mar 2019
2 answers
250 views
I want to export 2 RadGrids to PDF the RadGrid's inbuilt exporting feature. I have a wrapper Grid. The Grids that I want to export are located at different of my UI, so I don't want to add the grids directly in the wrapper grid. On the Export button click, I want to add the the Wrapper grid and export to PDF.  I just want both grids to be on a single PDF file. it's okay for me convert the first child grid(data filter details) to a string of text, with new lines, and place on the top of the PDF export of the second (bigger data grid), for this also I couldn't find a way. I have a sample code, but since I am new to the forum, I couldn't find an easy way to copy it here. I will do it as soon as I can. Thanks in advance.
Attila Antal
Telerik team
 answered on 29 Mar 2019
1 answer
317 views
Hi,

I have RadGrid in batch edit mode which includes 2 different comboboxes. Both of them has your own template. One of the combobox is the same for all rows, but values in second combobox depends on value in another column, the value works like a filter. I check several discussions how to do it and I implement combobox with client functions on DropDownOpening (get value from row column) and ItemsRequesting (cancel event for second event) events. Everything works fine and data are loaded correctly in combobox. But I cannot select any value. If I open drop down list, I can scroll it and see everything, but it doesn't respond to any click. Also hover style is not applied for items. It looks like combobox is not fully loaded, but I don't see any error in JS or any other else.

Did you see this kind of problem anytime?

Maybe there is a problem that I have 2 different comboboxes in grid. But one of them works without problems and second shows correct data and reload it correctly for each row. Maybe there is some problem with template, but I cannot find it and the same template works in all other comboboxes in my application.

Do you have idea what I can check?


Thanks a lot for any advice,
Petr
Eyup
Telerik team
 answered on 29 Mar 2019
1 answer
129 views

Is it possible to download the edited image as pdf into browser.

Thanks.

Rumen
Telerik team
 answered on 28 Mar 2019
5 answers
196 views
Hey there,
I am using RadControls for ASP.NET AJAX with Mono. Acutally I cannot update to a newer version of the controls since the 2.0 version is no longer supported. Is it on the schedule to have a new version compatible with Mono? And if so when is that going to happen?

Thanks for the information and best regards

Ferdinand
Rumen
Telerik team
 answered on 28 Mar 2019
1 answer
608 views
My requirement is to have a Masked textbox on a mobile form.  We need the numeric keyboard to appear when inputting values.  When using an asp:Texbox  can control the keyboard type by specifying TextMode="Phone".  Is there some equivalent property to the RadMaskedTextBox? I've tried using InputType="Number" but that doesn't seem to do the trick.
Rumen
Telerik team
 answered on 28 Mar 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?