Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
221 views
Dim insertQuantity As String
Dim insertEquipment As String
Dim intNumber As Integer = 1
Dim newControl As New Control
For intNumber = 1 To 1
    insertQuantity = "txtQuantity" + CStr(intNumber)
    insertEquipment = "txtEquipment" + CStr(intNumber)
    newControl = DirectCast(Me.FindControl(insertQuantity), TextBox)
    If (Not newControl Is Nothing) Then
        Response.Write("Cant find control ")
    Else
        Response.Write("Found the control")
        newControl = DirectCast(Me.FindControl(insertQuantity), TextBox)
    End If
Next intNumber
Hello There,

i am trying to retrieve values from multiple text boxes.  i Created the textboxes(quantity1, quantity2, etc)
and i am trying to pull these values when a user clicks the button.  This is what i have so far.

Please help.  When i access newControl.Text it is giving me a null reference to an instance of an object. Thank  you.

 

Birju
Top achievements
Rank 1
 answered on 03 Dec 2010
2 answers
102 views
Hi there

I am putting together an upload page using the following as a guide....

http://demos.telerik.com/aspnet-ajax/upload/examples/async/webmail/defaultcs.aspx?product=asyncupload

At the moment just testing so used the example above as a guideline.

Everything works - file gets uploaded and the submit is disabled during upload and then re-enabled and does what i want it too after the file has been uploaded.

Only problem is after the submit button is pressed we get an error pop up saying "Error: '$telerik' is undefined"

If we close the error message everything continues to work but I cannot understand why this error gets raised as everything appears to work - file is uploaded et...

I have tried to debug but all web resources are located correctly and there are no other errors.

Any ideas?

Geoff
Top achievements
Rank 1
 answered on 03 Dec 2010
1 answer
88 views
Hi,
it's been all day I have been trying to figure out why the radeditor I placed inside a usercontrol stopped working.
This is the deal: I have a RadPanel which contains some Textbow and a Radeditor. It used to work until today. Now I can only save  the editor's content using other browser than IE.
Can someone help me figure out what happened?
Thanks!
Rumen
Telerik team
 answered on 03 Dec 2010
1 answer
72 views
Hi all,

Relatively simple question to check my understand of what is/is not possible.

I have one DockZone with two Docks inside of it. Each of these docks is hosting an interactive chart.
I would like to AJAXify both of these, but have the updated controls be limited to the Dock which initiated the AJAX request.

I read that using RadAjaxManager to do this is not recommended. Indeed, when I set up a RadAjaxManager such that it attempted to update individual docks (as opposed to waiting for an AJAX request from the DockZone and then updating the DockZone) I receive the error: Telerik.Web.UI.RadDockZone can contain only controls of type Telerik.Web.UI.RadDock. I believe that this is occurring because of the 'imaginary' update panel which is being wrapped around the respective dock.

I read that the more accepted means of doing this is to use the standard UpdatePanel. I attempted to do so using the following snippit of HTML;

<telerik:RadDock ID="RadDock3" Runat="server" DockMode="Docked" Skin="Web20" Width="33.3%">
    <ContentTemplate>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <uc1:PowerUsage ID="PowerUsage1" runat="server" />
            </ContentTemplate>
        </asp:UpdatePanel>
    <ContentTemplate>
 </telerik:RadDock>

In addition, I moved the UpdatePanel outside of RadDock3 so that it wrapped the entire RadDock. Neither of these options proved fruitful, though. I continue to receive the above error message.

What am I doing wrong here? Is it not possible to update individual docks within a DockZone? 
Pero
Telerik team
 answered on 03 Dec 2010
1 answer
102 views
Hi folks,

I want to apply a conversion rate (set on the page outside the grid) to every row. For example:

<telerik:GridCalculatedColumn HeaderText="Cnv. Price" 
UniqueName="ConvertedSoldPrice"
 DataType="System.Double" 
DataFields="SoldPrice, ConversionRate" 
Expression="{0}*{1}" />

Since ConversionRate doesn't actually appear as a field in the database table (it's value comes from a textbox elsewhere on the same page), what's the best way of getting it incorporated in the calculated column?

Thanks,
Ken
Princy
Top achievements
Rank 2
 answered on 03 Dec 2010
11 answers
147 views

Hi, I have a problem with IE8: it's impossible to switch to HTML view.
The error is on ScriptResource.axd.

Following some details about the error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Tue, 26 Jan 2010 16:10:11 UTC
Message: Permission denied
Line: 5251
Char: 1
Code: 0
URI: http://172.30.148.239:81/ScriptResource.axd?d=7PXMeRUGD7WemvP40sRV83MWqfXBxjt-3xudKuVCvaa6JShH8VvYbuuHJPsJQD5Yt9q0mIE6vxYOCHUOSNSRsg2&t=633961254920000000
Telerik version: 2009 Q2
Browser version: IE 8.0.6001.18702

Could you help me?

Thanks

Rumen
Telerik team
 answered on 03 Dec 2010
1 answer
91 views
Hi All

I have two grids linked on a page, the second grid is linked to the id of the selected row in the first,
I have the first grid configured to select the first record in the grid when it has loaded and then pass the id to the second grid, However the second grid is loading before /at the same time.
My question is: is there anyway that i can delay the first grid loading until the first had completed?

Regards

Darren
Cush
Top achievements
Rank 1
 answered on 03 Dec 2010
4 answers
126 views

How do you turn off the default tooltip on the button. It is redundant to have the text="Save" and then when you hover over the button you automatically get a tooltip saying the same thing. I have tried to set the Tooltip="" and that doesn't work. If I set the tooltip text to "Save Record", this shows up when the mouse hovers over the button. Suggestions.


<telerik:RadButton ID="btnSave" runat="server" Text="Save" Width="100px">
</telerik:RadButton>
Rumen
Telerik team
 answered on 03 Dec 2010
1 answer
131 views
All I found is Dutch Language pack's zip file in some post. Could someone please paste links here ? Thanks.
Georgi Tunev
Telerik team
 answered on 03 Dec 2010
4 answers
302 views
Hi

I guess I should have been able to figure this out but I get error messages for all the methods I have tried..

I have a grid template column whose content is the product of two db fields, and when CMVPU is null, there
is an exception error related to dbNull value. What I want to happen is - where there is a null db value it is treated
as zero.

Please suggest the simplest way to accomplish this.

Thanks for help!

Clive
<ItemTemplate>
           <asp:Label ID="CMVPULabel" runat="server" Text='<%# Eval("CMVPU") * Eval("Qty")  %>'
            style="text-align: right"></asp:Label>
  </ItemTemplate>
Clive Hoggar
Top achievements
Rank 1
 answered on 03 Dec 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?