Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
190 views
In my application, I'm using a RadTabStrip and a validation control to validate user input, but  when I switch tabs, and then click on a button, the first postback is ignored, but if I click twice it will postback.

Any ideas?
Thanks,
Helen
Telerik team
 answered on 12 Aug 2011
4 answers
62 views
I just installed ASP.NET AJAX 2011 Q2, 
and found the project configuration wizard options are not displayed completely like attached snag-0001.jpg.

I am using VS2010 Chinese Traditional on Win7 Chinese Traditional x64.
Is this issue a defect or resulting from my environment?

thanks.

Note: I just found that the options displayed correctly if hit Back and Next again.  (screenshot snag-0000.jpg)
Andrey
Telerik team
 answered on 12 Aug 2011
4 answers
132 views
I am unable to retrieve the values for list box items when I am using the template column when in a different event such as a button click.
I need to get at the values for the selected item.

my ascx does this
                    <telerik:RadListBox ID="UserLst" runat="server" Width="320px" Height="400px" AutoPostBack="True"
                        Skin="Windows7">
                        <ItemTemplate>
                            <div class="radlist-itemdiv">
                                <div class="radlist-imagediv">
                                    <img src='Images/icon_human.png' alt="User Image" />
                                </div>
                                <div class="radlist-textdiv">
                                    <span class="radlist-title"><span class="radlist-column">Access Rights</span><%#Eval("AccessLevel")%></span><br /><span class="radlist-title"><span class="radlist-column">Full Name</span><%#Eval("Fullname")%></span><br /><span class="radlist-title"><span class="radlist-column">User Ref No.</span><%#Eval("UIDRef")%></span></div>
                            </div>
                        </ItemTemplate>
                    </telerik:RadListBox>

in my .CS Code file I am doing this in page_load          
UserLst.DataSource = WS.GetUserList(); // returns a dataset
UserLst.DataBind();

in my .cs file I have wired an imagebuttonclick event using radajaxpanel.

        protected void EditUserClick(object sender, ImageClickEventArgs e)
        {
            string UIDRef = xxx;  // get the UIDRef that is in the selecteditem        ????????    
        }

This last buttonclick routine is where I am strugling to get at the UIDRef that is part of the selected item?
Once I have the UIDRef i can locate the full record and start to edit it.

Any help greatly appreciated, Thanks.

Mick
Top achievements
Rank 1
 answered on 12 Aug 2011
9 answers
281 views
I am currently making a 3-tier Hierarchy using rad grids, however for some reason the last rad grid in the hierarchy is not being recognized by Visual studio 2008 (i.e. it is not being added to the designer class).

<telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0" RenderSelectedPageOnly="false">
<telerik:RadPageView ID="RadPageView1" runat="server">
   
<telerik:RadGrid ID="radGrd1">
       
<MasterTableView>
           
<DetailTables>
               
<telerik:GridTableView>
                   
<NestedViewTemplate>
                       
<telerik:RadMultiPage>
                           
<telerik:RadPageView>
                               
<%--add Radgrid Here--%>
                           
</telerik:RadPageView>
                       
</telerik:RadMultiPage>
                   
</NestedViewTemplate>
               
</telerik:GridTableView>
           
</DetailTables>
       
</MasterTableView>
   
</telerik:RadGrid>
</telerik:RadPageView>
Here is a skeleton of the code i am using.

Is it possible to add a rad grid in that position? If so why is it that visual studio is not adding this code to the designer class and thus making it inaccessible in the code behind file?

I have tried adding the control manually myself, although it appears in the intellisense the control itself is set to null during runtime thus making it impossible to bind any data to the Grid.

Please Help
Pavlina
Telerik team
 answered on 12 Aug 2011
4 answers
136 views
I have a grid with virtual scrolling and grouping, but when the groups are collapsed not all of the groups are showing.

Is there an example of a grid with virtual scrolling and grouping?
Maria Ilieva
Telerik team
 answered on 12 Aug 2011
5 answers
262 views
Hello,

I have tweaked styles before using the majority of a Telerik theme and changing a few items. Using version 2010.1.519.35 I am trying to do the same for the RadPanelBar only I am not getting the style correct. What I would like to do is have the panelbar use the WebBlue theme and then change a few things on the panel bar item only. Children can be left alone. So I thought the following would work but it doesn't?
.RadPanelbar_WebBlue
{
    margin:0 0 0 0 !important;
    text-align:center !important;
    vertical-align:text-top !important;
}

Any help in understanding what I am missing would be greatly appreciated.
JB
Peter
Telerik team
 answered on 12 Aug 2011
5 answers
76 views
We tried yesterday to upgrade to latest version of Telerik (2011.2.712) an noticed that it does seem to break encoding for the buttons generated for each row (Edit) etc. Has there been any changes with regards to this compared to the 2011.1.413 which we used before??

We use recource files for localization to Swedish and for edit we have "Öppna" which displayed fine  until we started using 2011.2.712, now it is displayed as "&#214;ppna". When we rolled back to 2011.1.413 DLL it is displayed correctly again.

Any ideas?
Sebastian
Telerik team
 answered on 12 Aug 2011
1 answer
114 views
Hi,

On a window I have three RadDateTimePicker controls as well as a RadAjaxManager (amongst other controls). This window gets loaded in a RadWindow.

When the window loads the RadDateTimePicker controls will not display the drop down calendar by clicking on the calendar icon next to the text box. If I cause a partial page post back via the RadAjaxManager by clicking on a checkbox or changing text in another text box the drop down calendar will start to work. 

Example code:

AjaxManager:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">
       <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="DateOfBirthControl">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="AgeLiteral"
                       UpdatePanelRenderMode="Inline" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="CityTextBox">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="PostCodeTextBox"
                       UpdatePanelRenderMode="Inline" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="PostalCityTextBox">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="PostalPostCodeTextBox"
                       UpdatePanelRenderMode="Inline" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="InactiveCheckBox">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="InactiveCheckBox" UpdatePanelRenderMode="Inline" />
                   <telerik:AjaxUpdatedControl ControlID="DeceasedCheckBox"
                       UpdatePanelRenderMode="Inline" />
               </UpdatedControls>
           </telerik:AjaxSetting>
           <telerik:AjaxSetting AjaxControlID="DeceasedCheckBox">
               <UpdatedControls>
                   <telerik:AjaxUpdatedControl ControlID="InactiveCheckBox"
                       UpdatePanelRenderMode="Inline" />
                   <telerik:AjaxUpdatedControl ControlID="DateOfDeathControl"
                       UpdatePanelRenderMode="Inline" />
                   <telerik:AjaxUpdatedControl ControlID="CauseButton"
                       UpdatePanelRenderMode="Inline" />
               </UpdatedControls>
           </telerik:AjaxSetting>
       </AjaxSettings>
   </telerik:RadAjaxManager>


Example of RadDateTimePicker that will not display calendar until ajax postback:
<telerik:RadDateTimePicker ID="DateOfBirthControl" runat="server" Culture="en-AU"
                        MinDate="1900-01-01" Skin="Windows7" Width="100px"
                        AutoPostBackControl="Both"
                        onselecteddatechanged="DateOfBirthControl_SelectedDateChanged">
                        <TimeView CellSpacing="-1" Culture="en-AU">
                        </TimeView>
                        <TimePopupButton ImageUrl="" HoverImageUrl="" Visible="False"></TimePopupButton>
                        <Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"
                            Skin="Windows7">
                        </Calendar>
                        <DateInput DisplayDateFormat="dd/MM/yyyy" DateFormat="dd/MM/yyyy"
                            AutoPostBack="True">
                        </DateInput>
                        <DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
                    </telerik:RadDateTimePicker>

Example of a control that causes a postback that will enable date time picker to work correctly.
<telerik:RadTextBox ID="PostalCityTextBox" runat="server" Skin="Windows7" Width="120px"
                       AutoPostBack="True" OnTextChanged="PostalCityTextBox_TextChanged">
                   </telerik:RadTextBox>


Thank you for your time.

Andrew
Maria Ilieva
Telerik team
 answered on 12 Aug 2011
1 answer
83 views
Hello,

The SPRadChart works great in IE8, but the charts do not show up in FireFox or Chrome.

Can this be fixed?

Thank you,

David Thomas
Bartholomeo Rocca
Top achievements
Rank 1
 answered on 12 Aug 2011
1 answer
56 views
Hi,

I want  to use my custom jquery popup form for creating new appointment.
The flow is as follow:
1. double click on scheduler
2. jquery dialog is opened
3. user clicks save and all data is saved with ajax post to the database
4. new appointment is created with client side API with the code similar the one that is shown below

var newAppointment = new Telerik.Web.UI.SchedulerAppointment();
...
newAppointment.set_start(startTime);
newAppointment.set_end(endTime);
newAppointment.set_subject("Manually Inserted Appointment");
...
sender.insertAppointment(newAppointment);

at this point I already have appointment id and for me it was logical to expect that I can set id to appointment with something like 

newAppointment.set_id(appointmentId);

but id is read only.

Is there any way I can set id for the newly created appointment?

Thanks in advanced.
Evgeny
Plamen
Telerik team
 answered on 12 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?