Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views

Hi,

I have a RadTabStrip with four tabs with multipage. Inorder to ajaxify i am using radajaxmanager to avoid postback on tab change.
I am using the below code and throwing an error as Radmultipage1 is returning null value.


<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="RadTabStrip1" EventName="RadTabStrip1_TabClick">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />

</UpdatedControls>

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManager>

 

 

 

 

 

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1"

SelectedIndex="0" OnTabClick="RadTabStrip1_TabClick">

 

<Tabs>

 

<telerik:RadTab runat="server" Text="Vehicle" PageViewID="RadPageViewVehicle">

 

</telerik:RadTab>

 

<telerik:RadTab runat="server" Text="Driver" PageViewID="RadPageViewDriver">

 

</telerik:RadTab>

 

<telerik:RadTab runat="server" Text="Premium" PageViewID="RadPageViewPremium" Selected="True">

 

</telerik:RadTab>

 

<telerik:RadTab runat="server" Text="CoverExcess" PageViewID="CoverExcess" Selected="True">

 

</telerik:RadTab>

 

</Tabs>

 

</telerik:RadTabStrip>



Thanks in Advance
Prathap

 

 

 

 

 

 

 

Nencho
Telerik team
 answered on 12 Nov 2012
1 answer
583 views
I have a Treelist with imagebutton inside and Onclientclick . I want DataBinder.Eval(...) return value(e.g : 3), but alert(y) return : "<%#DataBinder.Eval(Container.DataItem,"UserName")%>" instead of "3". Please help me. Thanks
Code :

<telerik:RadTreeList runat="server" ID="RadTreeListUser" DataKeyNames="UserLevelPath" ParentDataKeyNames="ParentUserLevelPath" OnNeedDataSource="RadTreeListUser_NeedDataSource">

<Columns>

  <telerik:TreeListBoundColumn DataField="UserName" HeaderText="User Name" UniqueName="UserName">
  </
telerik:TreeListBoundColumn>


  <
telerik:TreeListTemplateColumn UniqueName="EditItem" MinWidth="10px">

    <ItemTemplate>

      <asp:imagebutton id="ImageButtonEditItem" imageurl="../up.png" runat="server" onclientclick="javascript : var y = '<%#DataBinder.Eval(Container.DataItem,"UserName")%>'; alert(y) ; return false;">
      </
asp:imagebutton>

    </ItemTemplate>

  </telerik:TreeListTemplateColumn>
</
Columns>
</
telerik:RadTreeList>

Shinu
Top achievements
Rank 2
 answered on 12 Nov 2012
1 answer
75 views
Group Continued text was not displayed with GroupHeaderTemplate.

Please see the attachment.

Is there any specific property to be set to display the Group continued text with GroupHeaderTemplate.

If I remove GroupHeaderTemplate from the grid , Group Continued text is shown.

Please help.






Milena
Telerik team
 answered on 12 Nov 2012
3 answers
93 views
I have a simple rabpanelbar and when I view the website on ipad, the radpanelbars doesnt show the full width. Has anyone had this issue? 

Heres my aspx code' 
the "Rad Control Test on Ipad" shows up properly on ipad without getting chopped off. but the panelbar below width is like 25% or something instead of the full 100%

 <table width="100%">
<tr><td> Rad Control Test on Ipad  Rad Control Test on Ipad  Rad Control Test on Ipad  Rad Control Test on Ipad  
</td></tr>
<tr><td>
 

<telerik:radpanelbar runat="server" ID="RadPanelBar3"  Width="100%"      
        ExpandMode="SingleExpandedItem">
            <Items>  
            <telerik:RadPanelItem Text="Thank You For Your Order" Expanded="true" BackColor="White">
               
                <ContentTemplate >
                
     
     <table><tr><td align="center">
                       .....stuff here
                            
 

     </td></tr></table>
           
    
     </ContentTemplate>
               
                </telerik:RadPanelItem>
                </Items>
                </telerik:radpanelbar>
</td></tr>
</table>
Kate
Telerik team
 answered on 12 Nov 2012
8 answers
168 views
Hello,

Why does the Default2006 skin for Window Prometheus not look like the Default2006 skin for RadControls for ASP.NET? It looks terrible.

Do you have a correct Default2006 skin file for the Window control in Prometheus?

Thanks,
Xander   
Bozhidar
Telerik team
 answered on 12 Nov 2012
10 answers
227 views
Hi,
I am using  Mode="NextPrevNumericAndAdvanced" for the pager of a radgrid in an SP2010 Project, but on pageload the advanced elements are not vertically aligned. 

this issue is there only on pageload, if i sort, it will show this elements properly, I am attching the snapshot.
Andrey
Telerik team
 answered on 12 Nov 2012
1 answer
262 views
Hi Guys

I have a combo box in the edit item of a grid column, and I wanted to combine two column values to provide the DataTextField content.
It does sort of work, in that the values in the drop down box are as expected, but after one of them is selected, the combox is empty instead of showing the selected value.  You can see I tried to use a modified query in the SQL datasource as the simplest way, but obviously it is not the complete answer. Can you put me on the right track?

Code is as below.

Thanks

Clive

<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="XXXXXX"
SelectCommand="SELECT [AuthCode], ([FirstName] + [LastName]) AS [Name]  FROM [Authors]
ORDER BY [LastName], [FirstName]">
</
asp:SqlDataSource>
 
 
 
<telerik:GridTemplateColumn DataField="AuthCode" HeaderText="AuthCode" SortExpression="AuthCode"
UniqueName="AuthCode" Visible="False">
<EditItemTemplate>
    <telerik:RadComboBox ID="RadComboBox1" runat="server"
          DataSourceID="SqlDataSource2" DataTextField="Name"
          DataValueField="AuthCode" SelectedValue='<%# Bind("AuthCode") %>'
          Width="200px" AllowCustomText="True" EmptyMessage="Pick author">
    </telerik:RadComboBox>               
   </EditItemTemplate>
<ItemTemplate>             
     <asp:Label ID="AuthCodeLabel" runat="server" Text='<%# Eval("AuthCode") %>'></asp:Label>
     </ItemTemplate>
</telerik:GridTemplateColumn>
Shinu
Top achievements
Rank 2
 answered on 12 Nov 2012
5 answers
267 views
hi,

i am using raddatepicker in my aspx page. i have to clear the value entered in the raddatepicker when the submit button is clicked.

i tried with raddatepicker.clear() but it is not working.

below is the code in the aspx page 

<

 

telerik:RadDatePicker ID="rdpDueDate" runat="server" Culture="English (United States)"

 

 

 

 

Width="90px">

 

 

 

 

 <DateInput ID="DateInput1" runat="server" InvalidStyleDuration="100" TabIndex="3">

 

 

 

 

</DateInput>

 

 

 

 

<Calendar ID="Calendar1" runat="server" Style="position: absolute; padding: 0 0 0 0px;

 

 

 

margin: 0 0 0 0px;">

 

 

 

 

<SpecialDays>

 

 

 

 

<telerik:RadCalendarDay Repeatable="Today">

 

 

 

 

<ItemStyle CssClass="specialDay" />

 

 

 

 

</telerik:RadCalendarDay>

 

 

 

 

</SpecialDays>

 

 

 

 

</Calendar>

 

 

 

 

<DatePopupButton TabIndex="3" />

 

 

 

 

</telerik:RadDatePicker>

 Any help on this will be greatly appreciated.

 

 

 

 

Princy
Top achievements
Rank 2
 answered on 12 Nov 2012
8 answers
291 views
Hello,

Our website uses RadGrids that are created entirely in code-behind, because each grid's columns are controllable by the user.  The user is allowed to add and remove columns as well as move columns around.  I used the following articles as the basis for the page architecture:

http://www.telerik.com/help/aspnet-ajax/grdprogrammaticcreation.html
http://www.telerik.com/help/aspnet-ajax/grdchanginggridstructuredynamically.html

The grid is created dynamically, and added to a placeholder control that is defined on the page.  In addition, the columns are created dynamically, in the OnInit method of the page.

As a side note:  In the first article referenced above, it states that if you are creating the grid entirely in code-behind: "No ViewState is required for grid structure to be persisted as it is recreated on each page initialization".  However, this is not entirely true, because if you allow sorting, and if viewstate is disabled, you cannot click on the sort icon to affect a sort.

Regardless of whether the grid's viewstate is enabled or not, the problem arises when I sort a column, and then delete the sorted column.  When I delete the sorted column, I get the following error:

Sys.WebForms.PageRequestManagerServerErrorException: An error has occurred because a control with id 'ctl00$ContentPlaceHolderMain$ItemView1$grid1$ctl00$ctl02$ctl01$ctl09' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.

The id of the offending control might be different each time, but when I look at the HTML, it always corresponds to the <input type="image"> tag that represents the sort icon (the up/down arrow).  This input tag has a name attribute that matches the control name in the error message, but it has no ID attribute.  I don't know if this is the reason for the error or not.  I also get the above error when adding a column, and moving that column to a position to the left of the sorted column.

In any case, I am having a difficult time creating a small test project that duplicates the behavior.  In the meantime, I was wondering if Telerik or anybody has encountered this problem and hopefully found a solution.

Thanks for any help!
Steve

Alex Galie
Top achievements
Rank 2
 answered on 12 Nov 2012
2 answers
136 views
Hi
I am making one demo in that i am performing add and update in Rad Grid(InPlace) from outside of button click.
everything works fine. when i am adding a new record insertion is happening successfully but Rad Grid is not closing the addition
form(InPlace).
i am also rebind the RadGrid but that not work's for me.
Please help me on this.
anuj
Top achievements
Rank 1
 answered on 12 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?