Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
372 views
I have a RadPanelBar with RadPanelItem and it has some controls. I am trying to access a textbox in the RadPanelItem and I get errors like:

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

page:
http://beta.simpletick.com/marketplace/add/

aspx:

<telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%">
        <Items>
             
            <telerik:RadPanelItem runat="server" Expanded="true" Text="Submit your theme now"
                Width="100%" CssClass="PanelTitle">
                 
               <ItemTemplate>
                            <table>
                                <tr>
                                    <td>Theme Title:</td>
                                    <td>
                                        <asp:TextBox ID="ThemeTitle" runat="server"></asp:TextBox>
                                        <img src="../../img/icons/question.png" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" CssClass="required"  ControlToValidate="ThemeTitle" runat="server" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:Label ID="ThemeTitleError" runat="server" />
                                         
                                    </td>
                                </tr>
                                <tr>
                                    <td>Zip File:</td>
                                    <td>
                                        <telerik:RadUpload ID="ZipFileRadUpload1" InitialFileInputsCount="1" ControlObjectsVisibility="None" MaxFileInputsCount="1" runat="server">
                                        </telerik:RadUpload>
                                        <img src="../../img/icons/question.png" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" CssClass="required" ControlToValidate="ZipFileRadUpload1" runat="server" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:Label ID="ZipFileRadUpload1Error" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>Screenshot:</td>
                                    <td>
                                        <telerik:RadUpload ID="ScreenshotRadUpload1" InitialFileInputsCount="1" ControlObjectsVisibility="None" MaxFileInputsCount="1" runat="server">
                                        </telerik:RadUpload>
                                        <img src="../../img/icons/question.png" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" CssClass="required" ControlToValidate="ScreenshotRadUpload1" runat="server" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:Label ID="ScreenshotRadUpload1Error" runat="server" />
                                    </td>
                                </tr>
                                <tr>
                                    <td>What Skin Matches Best?</td>
                                    <td>
                                        <telerik:RadComboBox ID="BestSkin" runat="server">
                                        <Items>
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        <telerik:RadComboBoxItem Text="" Value="" />
                                        </Items>
                                        </telerik:RadComboBox>
                                        <img src="../../img/icons/question.png" />
                                         
                                    </td>
                                </tr>
                                <tr>
                                    <td>How wide should event/product images be?</td>
                                    <td>
                                        <telerik:RadNumericTextBox ID="EventProductImageWidthSize" Value="250" ShowSpinButtons="true" MinValue="100" MaxValue="800" Type="Number" runat="server">
                                            <NumberFormat DecimalDigits="0" />
                                        </telerik:RadNumericTextBox>
                                    px
                                        <img src="../../img/icons/question.png" />
                                     
                                    </td>
                                </tr>
                                <tr>
                                    <td>Your PayPal Account:</td>
                                    <td>
                                        <asp:TextBox ID="PayPalAccount" MaxLength="50" runat="server"></asp:TextBox>
                                        <img src="../../img/icons/question.png" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" CssClass="required"  ControlToValidate="PayPalAccount" runat="server" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator>
                                        </td>
                                </tr>
                                <tr>
                                <td>Selling Price:</td>
                                <td>
                                    <telerik:RadNumericTextBox ID="SellingPrice" Value="25" ShowSpinButtons="true" MinValue="1" MaxValue="5000" Type="Currency" runat="server">
                                        </telerik:RadNumericTextBox>
                                     USD
                                        <img src="../../img/icons/question.png" />
                                </td>
                                </tr>
                            </table>
                            <br />
                                <asp:Button ID="SubmitThemeButton"  runat="server"
        Text="Submit Theme"
        ToolTip="This will save your theme to the SimpleTick marketplace"
        onclick="SubmitThemeButton_Click" />
                             
                        </ItemTemplate>
            </telerik:RadPanelItem>
             
        </Items>
    </telerik:RadPanelBar>
Krishna
Top achievements
Rank 1
 answered on 08 Apr 2014
3 answers
46 views
Hi,
What is the best way to search a user (patient) from a database table, then add that user (patient) to an appointment?
I cannot find any clear results here.
Thanks :)
Hristo Valyavicharski
Telerik team
 answered on 08 Apr 2014
3 answers
167 views
Welcome,

I want to know how can I find node in orgChart by id on client-side using javascript. I tried get_nodes() method but I don't know how can I get simple node from this collection.
Plamen
Telerik team
 answered on 08 Apr 2014
2 answers
135 views
I have the following simple splitter setup.  The expected result would be the left pane to be at least 2000px tall....  when it renders, the pane's style shows "Height:1px;", and the browser displays it 1px tall.

<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
          <telerik:RadSplitter ID="RadSplitter1" runat="server" PanesBorderSize="0" Skin="Silk" BorderSize="0" Height="100%" Width="100%" LiveResize="False" RenderMode="Auto">
              <telerik:RadPane ID="RadPane2" runat="server" Width="180px" MaxWidth="180" MinWidth="180" Scrolling="None" BorderWidth="0" BackColor="#DFDFDF" MinHeight="2000" Height="2000">
                  <h1>Testing Panel Height</h1>
              </telerik:RadPane>
              <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" EnableResize="False" BackColor="#336699" Height="100%"></telerik:RadSplitBar>
              <telerik:RadPane ID="RadPane1" runat="server" Locked="False"  MinHeight="500" Height="100%">
                  <h1>Middle Pane</h1>
              </telerik:RadPane>
          </telerik:RadSplitter>

The results:

...
        <td id="RadPane2" class="rspPane rspFirstItem" style="border-right-width:0px;border-bottom-width:0px;"><div id="RAD_SPLITTER_PANE_CONTENT_RadPane2" style="width: 180px; height: 1px; overflow: hidden; background-color: rgb(223, 223, 223);">
                    <h1>Testing Panel Height</h1>
                ...
            

Thanks for the support.
Fred
Top achievements
Rank 1
 answered on 08 Apr 2014
10 answers
2.1K+ views
I need a text box that only accepts numbers. I have tried using a regular rad text box with all kinds of key press events and a bunch of other garbage, but I could never get it to work. I have tried a numeric text box but it keeps changing my numbers i type in for some reason. This box is for credit card numbers, so 16 length and all numbers. When I used a numeric textbox and tried typing in the credit card number, the number would be changed by the text box after leaving focus. I have no idea what that is all about or how that is useful to anyone but clearly I can't use that control. What can I do?
Gowtham
Top achievements
Rank 1
 answered on 08 Apr 2014
2 answers
104 views
I'm running Q1 2014 UI for ASP.NET.  I have a grid with a GridButtonColumn containing LinkButtons.  The page size is defaulted to 10 rows.
The issue is that if I change the Page Size to 20, and click on the LinkButton for a row greater than 10, the grid runs a changegridsize command setting the grid back to 10 rows instead of running the LinkButtton command.
Is this a bug or do I need to set an option on the grid for this to execute properly?
Dan
Dan
Top achievements
Rank 2
 answered on 08 Apr 2014
5 answers
295 views
Is there a way to render a ButtonType="SkinnedButton" as <input type="submit"> ?
Danail Vasilev
Telerik team
 answered on 08 Apr 2014
9 answers
530 views
Hi All

I am getting three fields from my data source; one numeric and the rest two string.

I want the info to be displayed as a stacked bar type of Rad chart. I want to group the contents by one of the string columns (which will also provide the label for my X-Axis) and use the numeric field as my Y axis.

How do I do that?

Please help me urgently.
Danail Vasilev
Telerik team
 answered on 08 Apr 2014
1 answer
72 views
Hi,
 how can i set tooltip for all the columns of radgrid?
Shinu
Top achievements
Rank 2
 answered on 08 Apr 2014
3 answers
585 views
When we tried to export data from grid it give "System.OutOfMemoryException". It gives expception when we try to export 5000+ records.

No. Of columns in grid are 22
No of records need to fetch 5000+

Please help me how to resolve this issue.
Jayesh Goyani
Top achievements
Rank 2
 answered on 08 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?