Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
330 views
for some inexplicable reason telerik controls have stopped working clientside.

I have a Radrotator which now wont display any images.  A RadDropdown which doesnt display or even activate its drop down lists.  CSS for menus, etc is not downloaded so the styling disappears.  RadMenus dont do anything when you click a menu item, the whole lot has just stopped working.  Does anyone know what could cause this ?
Kate
Telerik team
 answered on 19 Nov 2013
1 answer
662 views
Hi,

I have a RadComboBox to which i want some Javascript to be fired onClientClick of the RadComboBox.

I have set up a simple alert but it does not seem to work. 

Please help.

Thanks

.NET Code:
<telerik:RadComboBox ID="RadComboBoxDropDown" runat="server" OnClientClick="show();"/>

Javascript:
function show()
        {
            Alert("Are you sure you want to submit the page?");
        }
Princy
Top achievements
Rank 2
 answered on 19 Nov 2013
1 answer
97 views
Hi, I got the latest version of the TELERIK ASP.NET AJAX and my grid footer is displayed on top of the data rows, right after the header.

My page has a master grid with many grids (5) inside its template organized in html tables.

I export the grid calling "grid.MasterTableView.ExportToExcel()"

My footer is manipulated on databound as below :

...
Dim footerItem As GridFooterItem = CType(e.Item, GridFooterItem)
footerItem("NAME").Text = "<
div>" & var1 & "</div>" & String.Format("{0:0.00}", var2)
...

How can I correct the export behavior?
Kostadin
Telerik team
 answered on 19 Nov 2013
1 answer
69 views
Hi,

Scripts and Required field validators not working after putting Telerik controls in some pages. In some pages it is working fine.

Following are the details of my page

I have used rad grid and rad button in page1.aspx. while loading the page RadGrid will show with all the details.The RadGrid resides inside a div(divGrid). If user click on New button (RadButton) in this page , the div (divGrid) will go invisible and entry fields will show. These fields also resides inside a div (divEntry).These fields also have some RequiredFieldValidators,CustomValidators etc. But while clicking on Save button RequiredFieldValidators, CustomValidators are not validating and saving the details with null values.This time the div (divEntry) goes invisible and div (divGrid) will visible.

While debugging i found that some file were missing. I am attaching the screen shot for this.


Eyup
Telerik team
 answered on 19 Nov 2013
3 answers
329 views
I have a radtextbox in my page which is enabled when a raddropdownlist item is selected. The textbox is a required field once enabled and I want to perform multiple validation based on selected item of dropdownlist. Suppose first item is selected, the input should be validated for only numbers of a certain length. Suppose if item2 is selected,  user can enter alphanumeric characters. So how to switch the validation based on selected item?
Shinu
Top achievements
Rank 2
 answered on 19 Nov 2013
1 answer
139 views

Hello Sir,

I have the following requirement  to be implemented on my web page. It is similar to MS Excel 2010 Filter. Attached is the sample.

1. Multiple selection from the Dropdown using checkbox option.
2. Have to use web service to load the data ( I have approx. 5000 Items )
3. Autosuggest, while typing system should show the item to be picked.

I Just purchased the new Telerik License . I hope it will support my requirements

Thank you

Regards,
Muru

Shinu
Top achievements
Rank 2
 answered on 19 Nov 2013
1 answer
191 views
Hi I was wondering how to go about populating a ddl inside a Grid Item Template Column from SQL.  I tried doing it through the On Data Bound but I could not get it to work.  Below is my code.
Thanks
    <asp:Panel ID="pnlGrid" runat="server" CssClass="panelGrid">
        <telerik:RadGrid ID="myRadGrid" runat="server" Width="90%" Skin="Web20" CssClass="dvGridWrapper" AllowSorting="true" AllowPaging="true">
                <PagerStyle AlwaysVisible="true" />
                <MasterTableView AutoGenerateColumns="false" Font-Size="10" DataKeyNames="intRecruitId">
                    <HeaderStyle ForeColor="White" Font-Bold="true" HorizontalAlign="Center" />
                    <ItemStyle HorizontalAlign="Center"/>
                    <AlternatingItemStyle BackColor="#B0C4DE"  HorizontalAlign="Center" />
                    <Columns>
                        <telerik:GridBoundColumn DataField="dtRSPStatusChanged" HeaderText="Last Changed" />
                        <telerik:GridTemplateColumn HeaderText="NAME">
                            <ItemTemplate>
                                <asp:LinkButton ID="lnkName" runat="server" Text='<%#Bind("Name")%>' CommandArgument='<%#Bind("intRecruitId")%>' CommandName="OpenForm" ToolTip="Click to See Data"></asp:LinkButton>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="PHASE">
                            <ItemTemplate>
                                <asp:DropDownList ID="ddlPhase" runat="server"></asp:DropDownList>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn DataField="dtShip" HeaderText="SHIP DATE" />
                        <telerik:GridBoundColumn DataField="ddDate" HeaderText="DROP DEAD DATE" />
                        <telerik:GridBoundColumn DataField="dtProjReturn" HeaderText="EST RETURN DATE" />
                        <telerik:GridTemplateColumn HeaderText="STATUS">
                            <ItemTemplate>
                                <asp:DropDownList ID="ddlStatus" runat="server" OnDataBound="ddlStatus_Load"></asp:DropDownList>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="ISSUE">
                            <ItemTemplate>
                                <asp:DropDownList ID="ddlIssue" runat="server" OnDataBound="ddlIssue_Load"></asp:DropDownList>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="EDUCATION">
                            <ItemTemplate>
                                <asp:DropDownList ID="ddlEd" runat="server">
                                    <asp:ListItem Value="0" Text="N/A" />
                                    <asp:ListItem Value="1" Text="HSSR" />
                                    <asp:ListItem Value="2" Text="HSJR" />
                                    <asp:ListItem Value="3" Text="GED +" />
                                    <asp:ListItem Value="4" Text="GED" />
                                    <asp:ListItem Value="5" Text="GRAD" />
                                    <asp:ListItem Value="6" Text="COLLEGE" />
                                </asp:DropDownList>
                            </ItemTemplate>
<%--                            SelectedValue='<%#Bind("intRSPStatusID")%>'--%>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn HeaderText="NOTES">
                                <ItemTemplate>
<%--                                    <asp:Image ID="imgLooker" runat="server" ImageUrl="~/Images/ViewResources.gif" ImageAlign="Middle" BorderStyle="None" />
                                    <asp:PopupControlExtender ID="popInfo" runat="server" PopupControlID="pnlPop" TargetControlID="imgLooker" DynamicContextKey='<% #Eval("strNotes")%>' 
                                    DynamicControlID="pnlpop" DynamicServiceMethod="GetNotes" Position="bottom"></asp:PopupControlExtender>--%>
                                </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn DataField="strRSPSiteLocation" HeaderText="RSP SITE" />
                        <telerik:GridBoundColumn DataField="strUIC" HeaderText="UIC" />
                        <telerik:GridTemplateColumn HeaderText="UPDATE">
                            <ItemTemplate>
                                <asp:LinkButton ID="lnkUpdate" runat="server" Text="Update" ToolTip="Click to Save Data"></asp:LinkButton>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>                            
                    </Columns>
                </MasterTableView>
        </telerik:RadGrid>
    </asp:Panel>
</asp:Content>

Code Behind
    Protected Sub ddlIssue_Load(sender As Object, e As EventArgsHandles ddlIssue.Load
 
        sql = "Select strRSPIssueDesc from RSPIssue"
 
        ddlIssue.Items.Add(New ListItem("Select One""0"))
        buildDD(sql, ddlIssue)
    End Sub
 
    Protected Sub ddlSite_Load(sender As Object, e As EventArgsHandles ddlSite.Load
 
        sql = "select strRSPSiteLocation from RSPSite"
 
        ddlSite.Items.Add(New ListItem("Select One""0"))
        buildDD(sql, ddlSite)
    End Sub
 
    Protected Sub ddlStatus_Load(sender As Object, e As EventArgsHandles ddlStatus.Load
 
        sql = "Select strStatusType from RSPStatus"
 
        ddlStatus.Items.Add(New ListItem("Select One""0"))
        buildDD(sql, ddlStatus)
    End Sub

Princy
Top achievements
Rank 2
 answered on 19 Nov 2013
0 answers
70 views
Hello Team, 

i am using RadTreeview and Radwindow both in my asp.net page. 
on my first aspx page i am having Radtreeview [which i am binding dynamically], once user select any item from the context menu of radtreeview i am calling radwindow to allow user to input some values.
Once user click on submit button, i have to update the Radtreeview so that new changes should be appear in the Tree.

ON click of the submit button of the radwindow, i am actually setting the datasource of RadTree to null and rebind again but its not refreshing with the new changes

please advise
User1
Top achievements
Rank 1
 asked on 19 Nov 2013
1 answer
219 views
I have to access the entire fullpath once a user makes a selection from my dropdowntree. I know that I can do this with using .SelectedText but my REAL values I need to work with are stored in the DataValueField and using .SelectedValue only gets me the "real" checkboxed items, not the full path which might include the Parent item if its indeterminate. I've looked to see if there was a method for this, and cannot seem to find one. Can you please help, or at least show me a work around.

Thanks.

Shinu
Top achievements
Rank 2
 answered on 19 Nov 2013
1 answer
642 views
Hi,

I use the RadAsyncUpload control to let visitors select one or more files.
I only want my upload / save button to be enabled whenever:

1. There are files available and actually uploaded
2. When NO upload is currently active

Is there a way to check how many files are actually uploaded and still uploading?
If I remove a file, or add a file I need to have some sort of client-side counter.

Not sure how to achieve.

Any ideas, samples?

Thanks,
Daniel
Shinu
Top achievements
Rank 2
 answered on 19 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?