Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
241 views
Hi,
i want to  use night-day instead of   hours column
what should i do?
with  ShowHoursColumn="false" property i can hide hours but how can i show day and night? 
thanks
Plamen
Telerik team
 answered on 07 Aug 2012
1 answer
118 views
Hi everyone,

I am working on the page that allows a user to edit text. Everything appear to be fine except that this text has to support fields (that's how they call it in MS word). Basically this text is a template where user can insert fields or variables which will be replaced with actual values when some event occurs. I am able to implement it using contenteditable="false" and unselectable="on". However there some cases when the html i am inserting is modified and I am loosing those attributes. One of such cases is when I try to insert the html code below into empty table cell. Once I do that field seem to appear in the editor, but once I switch to HTML or submit a form i am loosing contenteditable and unselectable attributes 
<span class="editorField" contenteditable="false" unselectable="on" variable="FieldName">Field Text</span>

I am not sure if this is browser issue or telerik specific. Does anyone have any experience with this or anyone knows a control that natively supports such functionality.

Thank you!
Aleksey
Rumen
Telerik team
 answered on 07 Aug 2012
3 answers
136 views
Hello!
How to do that in selected places was the week number. The format "week number/ year"?
Ivana
Telerik team
 answered on 07 Aug 2012
3 answers
313 views
Hi, 
i used Telerik Version 2011.3 and have a  problem when use get_text() in javascript. that retruns Empty in chrome.
thanks,
Azadeh
Ivana
Telerik team
 answered on 07 Aug 2012
3 answers
151 views
Trying to display a Image from a SQL database, using the BinaryImage Control.  For some reason it doesn't display the image.

 

<ResourceTypes>

 

 

        <telerik:ResourceType DataSourceID="SqlDataSource1" ForeignKeyField="IMAGE"

 

 

            KeyField="IMAGE" Name="IMAGE" TextField="IMAGE" />

 

 

 

        </ResourceTypes>

 

 

<AppointmentTemplate>

 

 

    <h3>

 

        <%

# Eval("Subject") %>

 

 

    </h3>

 

 

    <telerik:RadBinaryImage ID="RadBinaryImage1" runat="server" DataValue='<%# Bind("IMAGE") %>'

 

 

        ImageHeight="20px" ImageWidth="20px" ResizeMode="Fit"/>

 

 

</AppointmentTemplate>

 

Robert
Top achievements
Rank 1
 answered on 07 Aug 2012
1 answer
702 views
Looking through old posts, it looks like there used to be a demo for this, but now the links are broken.

I want to click on a grid row in something like the outlook demo, and have a modal popup fire displaying the email.  I have done the modal popups from buttons before without issue, but have admittedly not done a lot of popup work.  Is there an example of doing this with radgrid?
Eyup
Telerik team
 answered on 07 Aug 2012
7 answers
172 views
Using 2012.1.306 dll's the selected text(not in the drop-down list) in the radcombobox is cut off if it is longer than 150px in ie7 only. This behavior is also observed on this site's demo section. More reasons to stick with the 2011.3 build...

Nick
Kalina
Telerik team
 answered on 07 Aug 2012
2 answers
173 views
I have the following scenario:
I have a page with a button that in the click event open a Radwindow, inside that Radwindow (is a sort of wizard) I need to open another popup windows (maybe another radwindow?) to retrieve some info, but the first Radwindow (sort of wizard) has an update panel for ajax effects. 

How can i do this?

Thanks
reguapo
Top achievements
Rank 1
 answered on 07 Aug 2012
1 answer
319 views
Hi there,

     I need the data key value of the parent radgrid in the itemdatabound event of the child grid which is inside nestedgeviewtemplate
Savyo
Princy
Top achievements
Rank 2
 answered on 07 Aug 2012
4 answers
267 views
I have an aspx page with a Tabstrip and 6 pageviews.I am using a Next button to move on to next pageview.At the same time on clicking the tabs also,user can move to the pageview.
I have set the MultiPageID and PageViewID as in the demos,hence on clicking the tabs,it should navigate to the corresponding pageview.
Here is Next button is working porperly ,where I use the below code on button click
protected void P_nextButton_Click 
(
object sender, EventArgs e)
       {
            
           RadTabStrip1.SelectedIndex = 1;
           RadMultiPage1.SelectedIndex =1;
 
 
       }
But the tabs are not working properly.Onclicking some tabs,pageview will be previous tab pageview.Funny thing here is that,sometimes these tabs shows correct pageview also.As per my unserstanding setting MultiPageID and PageViewID ,will make the tabs work properly without any server side coding.
Please see my code below and let me know where Iam going wrong.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
        <AjaxSettings>          
           
       <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RCNationality" /> 
                    
                </UpdatedControls> 
            </telerik:AjaxSetting>
 
             <telerik:AjaxSetting AjaxControlID="RadMultiPage1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
             
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1"
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                        <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
             
            <%-- <telerik:AjaxSetting AjaxControlID="RbNextP">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RbNextP" />
                    <telerik:AjaxUpdatedControl ControlID="lbltitle" />
                    <telerik:AjaxUpdatedControl ControlID="lblname" />
                    <telerik:AjaxUpdatedControl ControlID="lbldob" />
                    <telerik:AjaxUpdatedControl ControlID="lblAge" />
                    <telerik:AjaxUpdatedControl ControlID="lblfile" />
                    <telerik:AjaxUpdatedControl ControlID="lblnation" />
                     <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                     <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                </UpdatedControls>
            </telerik:AjaxSetting>--%>
              
            <telerik:AjaxSetting AjaxControlID="BirthDate">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lbldob" />
                    <telerik:AjaxUpdatedControl ControlID="RTYear" />
                    <telerik:AjaxUpdatedControl ControlID="RTMonths" />
                    <telerik:AjaxUpdatedControl ControlID="RTDays" />
                    <telerik:AjaxUpdatedControl ControlID="lblAge" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RTYear">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="BirthDate" />
                    <telerik:AjaxUpdatedControl ControlID="lbldob" />
                    <telerik:AjaxUpdatedControl ControlID="RTYear" />
                    <telerik:AjaxUpdatedControl ControlID="lblAge" />
                </UpdatedControls>
            </telerik:AjaxSetting>
 
             <telerik:AjaxSetting AjaxControlID="RCGender">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RCGender" />
                    <telerik:AjaxUpdatedControl ControlID="RCTitle" />
                    <telerik:AjaxUpdatedControl ControlID="cbmat" />
                    <telerik:AjaxUpdatedControl ControlID="cbeme" />
                </UpdatedControls>
            </telerik:AjaxSetting>
 
             <telerik:AjaxSetting AjaxControlID="RCCountry">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RCCountry" />
                    <telerik:AjaxUpdatedControl ControlID="RCCity" />                  
                </UpdatedControls>
            </telerik:AjaxSetting>
 
             <telerik:AjaxSetting AjaxControlID="RTFileNo">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RTFileNo" />
                 </UpdatedControls>
            </telerik:AjaxSetting>
 
              <telerik:AjaxSetting AjaxControlID="RCRefDoctor">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RCRefDoctor" />
                    <telerik:AjaxUpdatedControl ControlID="RTClinic" />                  
                </UpdatedControls>
            </telerik:AjaxSetting>
 
             <telerik:AjaxSetting AjaxControlID="RCClinic">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RCClinic" />
                    <telerik:AjaxUpdatedControl ControlID="RCDoctor" />
                    <telerik:AjaxUpdatedControl ControlID="RCDuration" />  
                     <telerik:AjaxUpdatedControl ControlID="RCFromTime" />
                    <telerik:AjaxUpdatedControl ControlID="RCToTime" />                                  
                </UpdatedControls>
            </telerik:AjaxSetting>
 
             <telerik:AjaxSetting AjaxControlID="RCDuration">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RCDuration" />
                    <telerik:AjaxUpdatedControl ControlID="RCFromTime" />
                    <telerik:AjaxUpdatedControl ControlID="RCToTime" />                  
                </UpdatedControls>
            </telerik:AjaxSetting>
 
            <%--<telerik:AjaxSetting AjaxControlID="rbSave">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rbSave" />--%>
                  <%-- <telerik:AjaxUpdatedControl ControlID="Message" />--%>
                  <%--  <telerik:AjaxUpdatedControl ControlID="lblRegnumber" />
                    <telerik:AjaxUpdatedControl ControlID="LblRegnNo" />--%>
                  <%--  <telerik:AjaxUpdatedControl ControlID="lbltitle" />
                    <telerik:AjaxUpdatedControl ControlID="lblname" />
                    <telerik:AjaxUpdatedControl ControlID="lbldob" />
                    <telerik:AjaxUpdatedControl ControlID="lblAge" />
                    <telerik:AjaxUpdatedControl ControlID="lblfile" />
                    <telerik:AjaxUpdatedControl ControlID="lblnation" />--%>
                   <%-- <telerik:AjaxUpdatedControl ControlID="lblmobile" />--%>
               <%-- </UpdatedControls>
            </telerik:AjaxSetting>   --%>               
        </AjaxSettings>
        </telerik:RadAjaxManager>
        
             <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Black" MultiPageID="RadMultiPage1" Align="Center" Width="800px"
                SelectedIndex="0" AutoPostBack="true"  >
                <Tabs>
                    <telerik:RadTab Text="Personal Details" runat="server" PageViewID="PageView1" Selected="true">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Contact Details" runat="server" PageViewID="PageView2" >
                    </telerik:RadTab>
                    <telerik:RadTab Text="Outside Referral Doctor" runat="server" PageViewID="PageView3" >
                    </telerik:RadTab>
                    <telerik:RadTab Text="Appointment with Doctor" runat="server" PageViewID="PageView4" >
                    </telerik:RadTab>
                    <telerik:RadTab Text="Kin Details" runat="server" PageViewID="PageView5" >
                    </telerik:RadTab>
                    <telerik:RadTab Text="Insurance Details" runat="server" PageViewID="PageView6" >
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
 
 <telerik:RadMultiPage id="RadMultiPage1" runat="server" SelectedIndex="0" Width="800px" BackColor="BurlyWood" BorderStyle="Ridge" RenderSelectedPageOnly="true" >
                  <telerik:RadPageView id="PageView1" runat="server">
                   <telerik:RadButton ID="RbNextP" runat="server" Text="Next" Skin="WebBlue" OnClick="P_nextButton_Click 
"
><Icon SecondaryIconCssClass="rbNext" SecondaryIconRight="4" SecondaryIconTop="6" />
                 </telerik:RadButton>
</telerik:RadPageView>
 <telerik:RadPageView id="PageView2" runat="server">
       //controls in between
</telerik:RadPageView>
<telerik:RadPageView id="PageView3" runat="server" >
 //controls in between
</telerik:RadPageView>
 <telerik:RadPageView id="RadPageView4" runat="server" >
 //controls in between
</telerik:RadPageView>
<telerik:RadPageView id="RadPageView5" runat="server" >
 //controls in between
</telerik:RadPageView>
<telerik:RadPageView id="RadPageView6" runat="server" >
 //controls in between
</telerik:RadPageView>
</telerik:RadMultiPage>

I am facing one more issue here while adding the Nextbutton on to the Ajaxmanager.I have posted the samein the forum http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/unable-to-set-value-of-the-property-control-while-adding-radtabstrip-in-ajaxmanager.aspx .But I didn't get any answer.Please help me on this.
Thanks,
Soumya.
Nencho
Telerik team
 answered on 07 Aug 2012
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?