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

I am using the Telerik.Web.UI. RadGrid in a moss page The control loads fine and binds data too. But when you hover over it, a javascript object required error pops up. Have followed all the links for ajaxifying the web.config suggested at Telerik.

It is just not able to access the javascript libraries embedded inside webResource.axd. Is there any way to fix this.

Please advise
Tsvetoslav
Telerik team
 answered on 14 Jul 2010
1 answer
110 views
I am trying to always show the pager at the bottom of a grid. When the page loads it shows fine. If I change the page size to show all rows it disappears. If I click on a row and a post back fires it reappears at the top of the grid. If I change the page size to a smaller number the pager returns to the bottom of the grid. What am I doing wrong?  ... this page is using a master page if that makes a difference.

Andrew

<telerik:RadGrid ID="grdRoles" runat="server" AutoGenerateColumns="False"
  AllowPaging="True" AllowSorting="false"GridLines="None" Width="375"
     OnNeedDataSource="GrdRoles_NeedsDataSource"
OnDeleteCommand="GrdRoles_DeleteCommand"
  OnSelectedIndexChanged="GrdRoles_SelectedIndexChanged">
    <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="True" Position="Bottom" />
    <MasterTableView CommandItemDisplay="None" DataKeyNames="Value" AutoGenerateColumns="False">
        <Columns>
            <telerik:GridBoundColumn DataField="Value" HeaderText="Role" ReadOnly="false"
              SortExpression="Value" UniqueName="Value">
            </telerik:GridBoundColumn>
            <telerik:GridButtonColumn ConfirmText="Remove all users from this role and
              delete?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete"
              ButtonType="ImageButton" CommandName="Delete" Text="Delete"
              UniqueName="DeleteColumn" Visible="true">
                <ItemStyle HorizontalAlign="Center" CssClass="MyImageButton" />
           </telerik:GridButtonColumn>
        </Columns>
    </MasterTableView>
    <ValidationSettings CommandsToValidate="PerformInsert,Update" />
        <ClientSettings enablepostbackonrowclick="true">
            <Selecting AllowRowSelect="True" />
        </ClientSettings>
</telerik:RadGrid>
Tsvetoslav
Telerik team
 answered on 14 Jul 2010
1 answer
95 views
 <telerik:GridBoundColumn DataField="Date" DataFormatString="{0:d}" HeaderText="Date"
                                UniqueName="Date">
                                <HeaderStyle HorizontalAlign="Left" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemStyle Width="60px" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="EndDate" DataFormatString="{0:d}" HeaderText="EndDate"
                                UniqueName="duedate">
                                <HeaderStyle HorizontalAlign="Left" />
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemStyle Width="60px" />
                            </telerik:GridBoundColumn>
 <telerik:GridBoundColumn DataField="OrderNumber" HeaderText="Ordrenr." UniqueName="OrderNumber">
                                <HeaderStyle HorizontalAlign="Left" />
                                <ItemStyle Width="80px" />
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="InvoiceNumber" HeaderText="Fakturanr." UniqueName="InvoiceNumber">
                                <HeaderStyle HorizontalAlign="Left" />
                                <ItemStyle Width="80px" />
                            </telerik:GridBoundColumn>

Here I want to check the value of InvoiceNumber in ItemDataBound event

If invoiceNumber= 1234
then
this invoicenumber field need to set visible false
Tsvetoslav
Telerik team
 answered on 14 Jul 2010
1 answer
93 views
Dear,

In my web application, I want to secure admin folder, but this folder is contain page (HtmlContent.aspx), and this page has rad editor control in it, and every thing work fine except the upload dialog for any manager (image,flash ...etc), when I press upload the following error is return :

The request filtering module is configured to deny a request where the query string is too long.


and in the Detailed Error Information I found :

Requested URL http://www.khabarajel.com:80/Rejected-By-UrlScan?~/Login.aspx?ReturnUrl=%2fadmin%2fTelerik.Web.UI.DialogHandler.aspx%3fDialogName%3dImageManager%26UseRSM%3dtrue%26Skin%3dWindows7%26Title%3dImage%2bManager%26doid%3db3300409-6be9-4187-9f60-581f4c4709b0%26dpptn%3d%26dp%3dFC8qRmpsfkgkAVY%252bbBl5BlAADHUbYgwDE3p%252bNVBcXltpHAtjXWt1KmVcdEYfFUlwHxU%252bT2pqQ0YKdkYOVBZ1LGhnby4gbWtFJVluM1Z2ZGRXExtbWWtQNWNcdEEmdGRECwE%252bbH0IfkccdFE8VxVHB2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WsAaHoTKH9WEQc2QmlhXwARdEIcZRllFWRlTT8SYGNSJHV6NmBfcFl%2bLhADbGRHBFR0A3YLDll6Jy4QAWQIeQEjWQcQUnNXEH8DYz8bcFFkI2REFnlpZFFkAhhBYQEGAVIBSnYUKndcEHI2T2lvUH4SdEIdVAdlK39cazYYWFZEI3cFMmZcA2pldRRMbANlAHxaB2oWK1l5Cy4DQn8JTEcfAHQ3VxlDKlZ1VTMjWXtbInVTMGZcdENQdhRFdXBAcWNpWgIfHntCHxU%2bcFFuckIkAFY%2bYwZ1clNxQ

but if I remove the security configuration on admin folder every thing works fine.

thank you for help.
Rumen
Telerik team
 answered on 14 Jul 2010
11 answers
228 views
Hi,
I'm using two RadDatePickers and I need to validate that the second date doesn't exceed 6 months (182 days to be exact) after the first selected date, as soon as the user selects the second date (which means no button click after the selection). Help would be appreciated.
Thanks

P.S.: Forgot to say that I was working in VB :)
Sammy78
Top achievements
Rank 2
 answered on 14 Jul 2010
1 answer
144 views
When changing the skin through the RadSkinManager Chooser, the RadInputManager Validation skin is not updated.
Say my web.config file sets skin to Black and I have a asp:TextBox on the page which is skinned by RadInputManager with ValidationRequired (puts warning icon in empty textbox).

If I change my skin via the chooser (say to Windows7) , I can no longer see the validation error icon.
BUT, if I change my skin in the web.config file, then the validation is shown.  I just can't use the chooser.

You can see this behaviour in the example demo site for RadInputManger first look.
Once the default page loads, click inside a textbox that requires validation. (see icon displayed)
Change skin via chooser. click inside textbox and you no longer can see the icon displayed.

http://demos.telerik.com/aspnet-ajax/input/examples/radinputmanager/firstlook/defaultcs.aspx


Wasn't sure if this is a RadSkinManager or a RadInputManager bug.
Dimo
Telerik team
 answered on 14 Jul 2010
1 answer
86 views
Hello.

With version 2008.3.1125.20 of Telerik.Web.UI, when setting AutoPostBack to true and referencing either CalendarView.ViewStartDate or CalendarView.ViewEndDate in a page's Init event handler, the Calendar does not go to the next or previous view.

<asp:ScriptManager ID="ctlScriptManager" runat="server" />
<telerik:RadCalendar ID="ctlCalendar" runat="server" AutoPostBack="true" />

Private Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Init
    Dim d As Date = ctlCalendar.CalendarView.ViewStartDate
    Dim d1 As Date = ctlCalendar.CalendarView.ViewEndDate
End Sub

Is there a way to get the current calendar view's start and end date without it malfunctioning in this version?

Cheers.
Maria Ilieva
Telerik team
 answered on 14 Jul 2010
3 answers
110 views
Hello,
I want to avail the functionality to load on demand on the dropdown arrow click and just able to select the entire list item text because list item value is the id that is to be stored in database. AFter going through the documentation i realised that load on demand doesnt allow to select the entire list item text. So is there a trick or tip regarding how to avail this functionality as i dont want to display the text other than what is listed in dropdown. If there is trick that will allow to search on demand than that will be great but i am content if the first part of requirement is achieved.

Inshort
1) Populate combo box on load on demand
2) Allow entire combo box item to be selected. That way i can get id from selected value
3) When in edit mode prefill the combo box will the item that was saved to database.

Any help is greatly appreciated.
mac
Simon
Telerik team
 answered on 14 Jul 2010
6 answers
410 views
Hi Telerik Team

I had difficulty to detect a tag in nested html. e.g.  My current html tag is below

<a href="http://google.com" title="test" name="test "><img alt="" src="/dbimg/70/14/NoSP1.gif" /></a> 

I am trying to popup my custom dialog box and load the existing values from the current "a" tag. somehow, when I use getSelectedElement() or selection.getParentElement(), the return result of tagName is always "IMG", can someone tell me how to achieve this?

Dobromir
Telerik team
 answered on 14 Jul 2010
1 answer
149 views
Is there a way to set the displaymask client side when the value of a RadMaskedTextBox is changed?

Thanks,
Chris
Maria Ilieva
Telerik team
 answered on 14 Jul 2010
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?