Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
475 views

Hi,

I'm currently using the usercontrl edit form and I would like to have this function in javascript
if the value of the rdbBillable= 1
then enable some of the textboxes
else
disable the text boxes

The problem is when I place the javascript inside the ascx page, the it complaints that there is no javascript (Microsoft JScript runtime error: Object expected), but then if I put in the aspx page, it also complaint for this line

 

radio = $find(

'<%= rdbBillable.ClientID %>');

 

 

Compiler Error Message: CS0103: The name 'rdbBillable' does not exist in the current context.

Thanks

Vinh Vu 

Princy
Top achievements
Rank 2
 answered on 30 Nov 2010
2 answers
73 views
Hi,
I am sorry if I am repeating an existing question, but can you tell me what is client side creation order of the objects that represent rad controls, especially those inside a RadGrid. I need to know if a RadGrid control that contains Rad controls inside its ItemTemplate will fire its RowCreated event after the creation of the clientside objects inside that particular row. Or is there an event I can hook up to, that will always get fired after the grid and the controls inside have been created on the client. Can you clarify also if this ordrer of creation is somehow altered after an AJAX request caused by RadAjaxManager. My goal is to have an event where I can walk through the grid control and get the controls inside each item and make some additional client-side configuration on them - therefore I need them all to be created and the .get_element() methods to point to a valid markup.
Any help on this topic is well appreciated.
Ivaylo
Top achievements
Rank 1
 answered on 30 Nov 2010
2 answers
210 views
Hi

I have a usercontrol inside a RadTabStrip. 5 Pageviews are contained in the tabStrip and the usercontrol embedded in the 3rd page. The usercontrol have a radscriptblock which have functions for ClientSelectedIndexChanged of a combo. AutoPostBack of RadTabStrip and RenderSelectedPageOnly of RadMultiPage set to true. When the 3rd page selected, a JS error occurs with the message 'ClientSelectedIndexChanged could not find'. How can I fix the issue?

thanks and regards

binoj
Binoj
Top achievements
Rank 1
 answered on 30 Nov 2010
3 answers
75 views
Hello Telerik
    I add a new tab to the tabstrip using client method, and set its NavigateUrl as http://www.google.com, but how to set the target of this link with client method? I don't want to open it in a new window, I want it was opened within a named frame.

thanks
Dimitar Terziev
Telerik team
 answered on 30 Nov 2010
1 answer
156 views
Hi,

I customized RadScheduler's AdvancedForm. I added a RadNumericTextBox and RequiredFieldValidator as follows.
But once I click Save/Update Button, it seems validation is not activated. 
Could someone please help me out?

<telerik:RadNumericTextBox runat="server" ShowSpinButtons="true" IncrementSettings-InterceptArrowKeys="true"
                                                            IncrementSettings-InterceptMouseWheel="true" ID="TotalAmountText" Width="300px"
                                                            Label="Total Amount:" />
<asp:RequiredFieldValidator runat="server" ID="TotalAmountRequiredFieldValidator"
                                                            ControlToValidate="TotalAmountText" EnableClientScript="true" Display="None"
                                                            CssClass="rsValidatorMsg" />
Regards,
NN
Veronica
Telerik team
 answered on 30 Nov 2010
6 answers
256 views
hi,

im using radcompression to compress my wcf ria requests but im having error. when i use fiddler, it says, the reported size doesnt match the actual size being sent? i suppose this becuase of the compression but it should match right.

is there anything wrong in my implementation? i just copy the Telerik.Web.UI.dll in my servers bin folder. then add in webconfig's httpmodules. anything else?

thank you!
Nikolay Rusev
Telerik team
 answered on 30 Nov 2010
1 answer
62 views
Hello,

I was wondering if it was possible to have one RadAjaxLoadingPanel for all RadAjaxPanel controls?  We would like to have the ability, like the RadAjaxManager, define a DefaultLoadingPanelID, and use this to apply for all RadAjaxPanel controls.  Is this possible without having to explicitly specify the panel?

Thanks.
Dimo
Telerik team
 answered on 30 Nov 2010
3 answers
266 views
Hi,

I didn't find Label property for DatePicker.
How can I do to appears Label, TextBox to input date and Button for calendar (with VB.net at runtime)?

Tks

Luiz
Dimo
Telerik team
 answered on 30 Nov 2010
1 answer
330 views
I'm working on the new RadButton and I've noticed an issue.

This one maybe something elementary that I am missing but I'm not quite sure how to simply make the text-font bold, either through css or the design-time code.  This simple button for some reason does not make the font bold:

<t:RadButton ID="rbtnGenerateReport" runat="server" Text="Generate Report" Font-Bold="true" />

And it doesn't seem to be just 'font-bold', it also seems that all the 'font' properties don't work.

Thanks in advance!
Zach
Bozhidar
Telerik team
 answered on 30 Nov 2010
3 answers
53 views
Hello,

I turned on Compression using the following in a browser file:
<browsers>
    <browser refID="Default">
        <controlAdapters>
            <adapter controlType="System.Web.UI.Page"
                     adapterType="Telerik.Web.UI.RadSessionPageStateCompression" />
        </controlAdapters>
    </browser>
</browsers>

That mostly works fine. However, when I create a page with a RadListView with an EditItemTemplate it throws a security exception. Since it works locally, but not on a shared host I'm assuming this is a medium trust issue.

The code is as follows:
<telerik:RadScriptManager ID="MainRadScriptManager" runat="server" EnableCdn="true">
</telerik:RadScriptManager>
<telerik:RadListView ID="TestRadListView" runat="server"
    DataKeyNames="TestID" DataSourceID="TestLinqDataSource">
    <LayoutTemplate>
        <asp:PlaceHolder ID="itemPlaceholder" runat="server"></asp:PlaceHolder>
    </LayoutTemplate>
    <ItemTemplate>
        <p><%# Eval("Name") %></p>
    </ItemTemplate>
    <EditItemTemplate></EditItemTemplate>
</telerik:RadListView>
 
<asp:LinqDataSource ID="TestLinqDataSource" runat="server"
    ContextTypeName="TestDataContext" TableName="Tests">
</asp:LinqDataSource>

If I remove the EditItemTemplate, it works again. The above is just a simple way to get the error to reproduce, the actual page is more complicated.


So, a few questions:
Is there something I forgot to do on the page itself?
If not, is there a way to make this work under medium trust?

If not, what is another simple method of moving the viewstate off the page with the above working?

Thanks
Tsvetina
Telerik team
 answered on 30 Nov 2010
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
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
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?