Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
166 views
I have a Radgrid and RadMonthYearPicker on the page. Radgrid contains hyperlink column, when click on the link along with DataNavigateUrlFields i have to pass value of the RadMonthYearPicker to the next page.

<telerik:RadMonthYearPicker ID="RadMonthYearPicker" runat="server" />
 <telerik:RadGrid .....................

<telerik:GridHyperLinkColumn DataTextField="Salesperson" UniqueName="Salesperson" HeaderStyle-Font-Bold="true" DataNavigateUrlFields="Salesperson,LoginName,MetricYear" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderText="Salesperson" HeaderStyle-Width="20%"  DataNavigateUrlFormatString="DetailActivity.aspx?UserType=VP&amp;Salesperson={1}&amp;MetricYear={2}&amp;Picker=???"  /> 

</telerik: RadGrid>

Please let me know.


                 

                 
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
2 answers
331 views
Hi,

RadUpload control does not filtering files. AllowedFileExtensions=".tif,.gif,.png,.jpg,.pdf,.xls,.xlsx,.doc,.docx" is not working. I did through server by adding these extensions into a string array but no success.

Here is my markup.

<telerik:RadUpload ID="RadUploadPol" runat="server" ControlObjectsVisibility="None"
                    AllowedFileExtensions=".tif,.gif,.png,.jpg,.pdf,.xls,.xlsx,.doc,.docx">
                </telerik:RadUpload>     

Please help.
Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
3 answers
120 views
Hi,

Is it possible to display different resources, for example persons and locations in the scheduler?

Thanks,

Regards,

Henk
Plamen
Telerik team
 answered on 22 Apr 2014
12 answers
825 views
Hi,
I do not want to show radalert icon when I use it to show some message. How can I do this?

Thanks in advance.

Mamun
Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
1 answer
201 views
Is it possible to prevent the paging number from changing or to revert back to the previous page number client side?

Right now if the user has made changes to the grid I am able to prevent a postback during the OnCommand client side event but the the page number has already changed which is confusing for the users as they are not able to reselect the page number after they have saved their changes and are ready to move on.
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
3 answers
178 views
GridView Ajax Control in EditItemTemplate of RadGrid

1. I have a RadGrid that would like to be ajaxed.
2. Inside a GridTemplateColumn / EditItemTemplate I have a <asp:GridView.
3. inside the GridView I have a button named "ButtonAdd".

When I click "ButtonAdd" I want to GridView to load via ajax and it should have a loading panel. But I do not want a loading panel on the entire RadGrid.
When I click the Update/Insert/Delete/Cancel buttons or do any normal RadGrid stuff I want the entire RadGrid to show a loading panel like it does now.

This code allows the GridView to work correctly but the RadGrid is not longer ajaxed.
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Gridview1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Gridview1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>         
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

This code always shows the loading panel over the entire RadGrid, but that is not what I need.
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Gridview1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Gridview1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>         
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

Can this be done?

Thanks, Marty

Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
8 answers
529 views
Hi

Is it possible to change the emptymessage color? The RadTextbox has some attributes to do this.

Fred
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
4 answers
199 views
I'm trying to use JavaScriptSpellCheck. (http://www.javascriptspellcheck.com/). And, I have it working, for a non-Telerik textbox. For a Telerik RadTextBox, I get a double-box.(attached image to show what I'm seeing as doubletextarea.png).

I should only see one input textbox.

Now, if I uses an asp:TextBox, it works no problems. 

The problem could be with JavaScriptSpellCheck, but the issue only occurs with Telerik controls (pretty much any input control). You can see the difference with doubletextarea2.png. The bottom input control is an asp:TextBox. The upper is a telerik:RadTextBox.

This is what that code looks like:
                    <telerik:RadTextBox ID="TxtNote" runat="server" Height="150px" TextMode="MultiLine"
                        Width="350px" Skin="CustomSkin" EnableEmbeddedSkins="false" />
                    <hr />
                    <asp:TextBox ID="aspTxtNote" runat="server" Height="150px" TextMode="MultiLine" Width="350px"></asp:TextBox>


View Source shows this:
                    <span id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_wrapper" class="riSingle RadInput RadInput_CustomSkin" style="width:350px;"><textarea id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote" name="ctl00$ctl00$ContentPlaceHolder1$ChildContent1$CSRActions$TxtNote" rows="2" cols="20" class="riTextBox riEnabled" style="height:150px;"></textarea><input id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_ClientState" name="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_ClientState" type="hidden" /></span>
                    <hr />
                    <textarea name="ctl00$ctl00$ContentPlaceHolder1$ChildContent1$CSRActions$aspTxtNote" rows="2" cols="20" id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_aspTxtNote" style="height:150px;width:350px;">
</textarea>

Any ideas on how to get rid of this extra box that's showing up? This occurs in both IE and Chrome. IE 11 and Chrome Version 34.0.1847.116 m. Visual Studio 2012 ASP .NET using your AJAX controls. 

Telerik.Web.UI version 2012.3.1308.45.

Thanks



















Daniel
Top achievements
Rank 2
 answered on 21 Apr 2014
1 answer
73 views
I have a RadImageGallery in Lightbox mode within a RadAjaxPanel. When I click on the thumbnail, the image area pops up properly but if I click the next arrow, the next image is briefly shown and then the image area disappears. I would prefer to keep the RadAjaxPanel as it is more reliable (in my opinion) than the RadAjaxManagerProxy and there aren't a lot of controls on the page.

Any help would be appreciated.
Maria Ilieva
Telerik team
 answered on 21 Apr 2014
3 answers
341 views
I've set the singleclick property of a RadButton as follows:

<telerik:RadButton runat="server" ID="btnSubmitRequest" Text="Submit" SingleClick="true"  SingleClickText="Submitting..." OnClick="btnSubmitRequest_Click" ValidationGroup="required" />

However, the button isn't getting disabled, and, upon viewing the page source, I noticed that the "onclick=disableButton" function isn't there at all. I've used SingleClick buttons in my code before in this exact same manner, and never had a problem before.
Chase
Top achievements
Rank 1
 answered on 21 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?