Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
54 views
Hai this my codebehind code for the homepage.aspx
      While i am loading the page i couldn't view the controls which are inside the contentpane.so anyone  review the below code and give me the solution for that problem.
Reply immediately....
--------------------------------------------------------------------------------------------------------------------------------------------------------------
<telerik:RadPane runat="server" ID="contentPane" BorderStyle="None">
        <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Height="25px" 
             MultiPageID="mpLogin" SelectedIndex="0" Width="100%">
             <Tabs>
                 <telerik:RadTab runat="server" Text="Member" Selected="True">
                 </telerik:RadTab>
                 <telerik:RadTab runat="server" Text="Employee">
                 </telerik:RadTab>
             </Tabs>
         </telerik:RadTabStrip>
         <telerik:RadMultiPage ID="mpLogin" Runat="server" SelectedIndex="0">
             <telerik:RadPageView ID="pvMember" runat="server">
                 <table>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="lblName" runat="server" Text="User Name"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtUserName" Runat="server" AutoCompleteType="Search" 
                                 SelectionOnFocus="SelectAll" TabIndex="1" Width="125px">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtPassword" Runat="server" 
                                 SelectionOnFocus="SelectAll" TabIndex="2" TextMode="Password">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" colspan="2">
                             <asp:CheckBox ID="chkStay" runat="server" TabIndex="4" Text="Stay Signed In" />
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             &nbsp;</td>
                         <td>
                             <asp:Button ID="btnOk" runat="server" onclick="btnOk_Click" 
                                 OnClientClick="return FormValidateM();" TabIndex="5" Text="Ok" Width="58px" />
                         </td>
                     </tr>
                 </table>
             </telerik:RadPageView>
             <telerik:RadPageView ID="pvEmployee" runat="server">
                 <table>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="Label1" runat="server" Text="User Name"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtUserName_E" Runat="server" AutoCompleteType="Search" 
                                 SelectionOnFocus="SelectAll" TabIndex="1" Width="125px">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             <asp:Label ID="Label2" runat="server" Text="Password"></asp:Label>
                         </td>
                         <td>
                             <telerik:RadTextBox ID="txtPassword_E" Runat="server" 
                                 SelectionOnFocus="SelectAll" TabIndex="2" TextMode="Password">
                             </telerik:RadTextBox>
                         </td>
                     </tr>
                     <tr>
                         <td align="left" colspan="2">
                             <asp:CheckBox ID="chkStay_E" runat="server" TabIndex="4" 
                                 Text="Stay Signed In" />
                         </td>
                     </tr>
                     <tr>
                         <td align="left" style="width: 125px">
                             &nbsp;</td>
                         <td>
                             <asp:Button ID="btnOk_E" runat="server" onclick="e_btnOK_Click" 
                                 OnClientClick="return FormValidateE();" TabIndex="5" Text="Ok" Width="58px" />
                         </td>
                     </tr>
                 </table>
             </telerik:RadPageView>
         </telerik:RadMultiPage>
</telerik:RadPane>
Svetlina Anati
Telerik team
 answered on 04 May 2010
2 answers
182 views
Hello.

I would like to use this example:
http://www.telerik.com/community/code-library/aspnet-ajax/general/drag-and-drop-between-radgrid-and-radtreeview.aspx

but, I have a customized Master Page, with no TreeView like the sample, so, I tryed to put the code of Default.aspx (that is the TreeView and GridView together) in a page with my Master Page linked, and the code behind in Default.aspx.cs. But, I got this error:

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)


Anyone knows why?

Regards.





Princy
Top achievements
Rank 2
 answered on 04 May 2010
1 answer
105 views
This should be easy but I just can't figure it out, how do I control the width of the lables in radgrid edit form so that they don't wrap?
Shinu
Top achievements
Rank 2
 answered on 04 May 2010
1 answer
92 views
hi...

i used the following coding in my grid to use the edit option but if i click the edit button nothing  is happening ,, what i want to do..

<telerik:radgrid ID="grdManagediscount" runat="server" Width="700px"  Skin="Web20"
                AllowSorting="True" AllowPaging="True" TabIndex="1"  
               AllowAutomaticInserts="true" AllowAutomaticUpdates="true" AllowAutomaticDeletes ="true"
                GridLines="None" AutoGenerateColumns="False" PageSize="5"
             AutoGenerateDeleteColumn="True"
             onneeddatasource="grdManagediscount_NeedDataSource" >
<MasterTableView TabIndex="62" Width="698px"  EditMode="EditForms" CommandItemDisplay="Top"  
                       NoMasterRecordsText="No records to display" >
                    <CommandItemSettings AddNewRecordText="Add a Coupon" />
             <Columns>
                
                 <telerik:GridEditCommandColumn  UniqueName="EditCommandColumn1" HeaderText="Edit"
                  ButtonType="ImageButton" HeaderStyle-Width="3%">
                    <HeaderStyle Width="10%"></HeaderStyle>
                  </telerik:GridEditCommandColumn>
                  <telerik:GridBoundColumn HeaderText="S.No" HeaderButtonType="TextButton"
                        DataField="Couponid" UniqueName="SNo"  HeaderStyle-Width="5%">
                    <HeaderStyle Width="5%"></HeaderStyle>
                  </telerik:GridBoundColumn>
                
                  <telerik:GridBoundColumn HeaderText="Coupon Number" HeaderButtonType="TextButton"
                        DataField="Couponnumber" UniqueName="number" HeaderStyle-Width="20%" >
                        <HeaderStyle Width="20%"></HeaderStyle>
                   </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Discount Percentage" HeaderButtonType="TextButton"
                        DataField="Discountpersentage" UniqueName="percentage" HeaderStyle-Width="20%" >
                        <HeaderStyle Width="20%"></HeaderStyle>
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn HeaderText="Expedite Days" HeaderButtonType="TextButton"
                        DataField="Expeditedate" UniqueName="expdate" HeaderStyle-Width="20%" >
                                <HeaderStyle Width="20%"></HeaderStyle>
                    </telerik:GridBoundColumn>
                    <telerik:GridCheckBoxColumn HeaderText="Issued" DataField="Status" UniqueName="Issue"  >
                    </telerik:GridCheckBoxColumn>
                                        
                    <telerik:GridButtonColumn ConfirmText="Delete this Item?" HeaderText="Delete" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" Text="Delete"
                        UniqueName="DeleteColumn" HeaderStyle-Width="3%">
                        <HeaderStyle Width="10%"></HeaderStyle>
                        <ItemStyle HorizontalAlign="Center" />
                    </telerik:GridButtonColumn>
              </Columns>
                <PagerStyle Mode="NumericPages" Font-Bold="True" HorizontalAlign="Justify"></PagerStyle>
         </MasterTableView>

    </telerik:radgrid>
Shinu
Top achievements
Rank 2
 answered on 04 May 2010
2 answers
179 views
Hi,

I am facing a problem while setting a multi line title for chart control.
I have two line chart title and i set the alignment as :

(

radChart.ChartTitle.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.

AlignedPositions.Top;

 

)

By using this code snippet, the title is aligned top center. Now the problem is as the title is multiline, the first line
is aligned properly but the second line is not. It starts from where the first line starts besides that it contains less
text then the first line. Now i want to align the lines separately.

Please provide any solution as soon as possible.

Thanks in advance...

Vipul
vipul saini
Top achievements
Rank 1
 answered on 04 May 2010
13 answers
385 views
I did a clean install of VS2010 Beta2 n a new computer. I installed RadControls Ajax and OpenAccess. Using the latest internal builds (RadControls build 1007 and OA build 1031) installed the teleik extensions in CS2010 properly. The regular 2009 Q2 SP1 version did not install the VS extensions.

ALl seems to work fine at runtime, however, when I edit aspx pages containing RadControls in VS2010 Beta2, the tagPrefix telerik is not recognized altough the proper referebces have been made (and all was working fine in VS2008). The telerik tag prefixes are underlined in code view, no control properties are being shown for radControls and in design view it shows a rendering error because the telerik assembly could not be loaded.

These seem to be all VS20210 related errors. The project still runs fine both on the VS development server and in IIS. Is trhere a way to get around this, it is hard to code the RadControls without any help from VS (intellisense, property pages etc.)

Regards, Mikael
Eliza Sahoo
Top achievements
Rank 1
 answered on 04 May 2010
3 answers
123 views
Good evening,

I opened a support ticket in March, the first replies and the initial comunication with the support team was very prompt, however once the support team identified the erroneous behaviour, I was asked to give them some time to finda a solution... this was in the 24th of March.

There is no way for me to add any comments to the trouble ticket, my only option is to mark it as resolved.

Is this the normal level of support offered by Telerik or am I just an unfortunate soul... I have my manager on constantly asking for an update on the situation, and I have nothing to tell, nor any way to request a status.

The components are brilliant, but this support does not (in this case anyway) match up to the expected standard.

This is my cry out for help, and, maybe, a warning to any future customers whom might need to open a support ticket and what they might expect.

Ivo Valente.
Veselin Vasilev
Telerik team
 answered on 04 May 2010
4 answers
236 views
In this demo http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridincombobox/defaultcs.aspx?product=combobox,

it uses OnClientDropDownOpening to fire the ajax call and populate grid on demand. I would like to use OnClientTextChange instead so grid data can keep updated as user types. The issue I have is OnClientTextChange doesn't fire until the user hits Enter or clicks outside the combobox.

In the past, I use Ajax autocompleteextender to achieve that. How can i do it using radcombobox here?

 

Chen Jun Ying
Top achievements
Rank 1
 answered on 04 May 2010
1 answer
93 views
Hi..

with in ajax manager Request radgrid cant Rebind/ Updated valus Cant't showing .its showing previous valus..


    <telerik:RadGrid ID="rgExperience" runat="server" AutoGenerateColumns="False" GridLines="None" OnItemDataBound="rgExperience_ItemDataBound" OnNeedDataSource="rgExperience_NeedDataSource"  >
        <MasterTableView>
        
        <Columns>
        <telerik:GridTemplateColumn>
        <ItemTemplate>
         <ItemTemplate>
            <div class="bold">
                <span class="font14 green11 bold">
                    <%#Eval("designation") %>
                    at </span><span class="font14 bold">
                        <%#Eval("Company")%>
                    </span>
                <br>
                <span class="font12 bold">
                    <%#Eval("city")%>
                    ,
                    <%#Eval("Countryname")%>
                </span>
                <br />
                <span class="grey_txt2 font12 bold">
                    <%#Eval("Start")%>
                    -
                    <asp:Label ID="lblend" runat="server" Text='<%#Eval("expend")%>'></asp:Label>
                </span>(
                <%#Eval("expCount")%>
                years)
               <br />
                <div class="fltr1">
                    <asp:LinkButton ID="lbtnExperience" runat="server">Edit</asp:LinkButton>
                </div>
                <br />
                <asp:Label ID="lblSummery" runat="server" Text="Job Summary:"></asp:Label>&nbsp;
                <asp:Label ID="lblSumery1" CssClass="unbold" runat="server" Text='<%#Eval("details")%>'></asp:Label>
            </div>
            <asp:Label ID="lblexpid" runat="server" Visible ="false"  Text='<%#Eval("ExperienceId")%>'></asp:Label>
            <i class="s5">&nbsp;</i>
            <div class="dashed_border">
                &nbsp;</div>
            <i class="s5">&nbsp;</i>
        </ItemTemplate>
        
        </ItemTemplate>
        
        </telerik:GridTemplateColumn>
        
        </Columns>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px" />
            </ExpandCollapseColumn>
            <RowIndicatorColumn>
                <HeaderStyle Width="20px" />
            </RowIndicatorColumn>
        </MasterTableView>
    </telerik:RadGrid>

 function OnClientCloseexperience(oWnd)
        {
             var ajaxManager = $find('<%=RadAjaxManager1.ClientID %>');
         
            ajaxManager.ajaxRequest("experience");
        }



  protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
    {

   
       if (e.Argument.ToString() == "experience")
        {
            ;
            rgExperience.Rebind();
        }









Tsvetoslav
Telerik team
 answered on 04 May 2010
1 answer
85 views
Hi!

Is there any way to enable selecting without holding CTRL key. I want to simulate the same thing as with checkboxes, but i don't want to use them...

Thank you!
Yana
Telerik team
 answered on 04 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?