Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views
Hello,

For the project I'm currently working on I need to show the subject and underneath the description.
I have looked at your examples and I have done it this way :
        <AppointmentTemplate> 
            <label id="lblAppointmentSubject" runat="server"
                <%# Eval("Subject") %> 
            </label>   
            <br /> 
            <label id="lblAppointmentDescription" runat="server"
                <%# Eval("Description") %> 
            </label> 
        </AppointmentTemplate> 
 

(I know the labels aren't necessary but I tried to align it).
This works fine but the things is I want different appointment information in different views.
Like say this is for the dayview but for the weekview I would only need the subject to show.
How can I manage that since there is no if/else in ASP.NET.
Maybe in the code behind??

Also another question :
is it possible to show subject and underneath it description aligned to the left.
and in the right upper corner some other info like the creator or owner or something like that?
Or align the subject to the middle?

Byee Vishaal

P.S. Your examples only show asp.net with code behind like databinding. Maybe its usefull to show some code behind like how to use a sql query and/or insert an appointment from code behind.
Peter
Telerik team
 answered on 03 Mar 2010
6 answers
154 views
hi
i have a userControl page for my radGrid.when i click on edit ,userControl form open in butom of page and
worke with it is hard.until manualy move window. iwant to adjust position of userControl Page.

and one other problem : when click edit button and  open userControl, radGrid  bollix. ... see  attached pic. 1=befor open      2 =after open.
Mohammadreza reiazi
Top achievements
Rank 1
 answered on 03 Mar 2010
5 answers
270 views
How to disable each time slot in the scheduler in week view, I tried to disable it for a day, but the header only gets disabled. Not the time slot.
For eg:
I would like to disable all the time Slot of day which is sunday in week view. How do i do it.
Peter
Telerik team
 answered on 03 Mar 2010
3 answers
822 views
Hello,
one of the steps is to set the directory 'App_GlobalResources' to include the resource file 'RadSpell.Dialog.resx'.
this is the error message I get when I try to run my application:
"The directory '/App_GlobalResources/' is not allowed because the application is precompiled"
what should I do?

best regards,
Gil.
Rumen
Telerik team
 answered on 03 Mar 2010
2 answers
425 views
I am using Telerik Rad Controls 2008 Q3 in my bussiness. In an application I need to copy the selected date of a RadDatePicker to another. I can access the objects with thie client side ID's. But the problem is I do not have a clien-side event to handle this process. Currently the RadDatePicker has only OnPopUpOpening, OnPopUpClosing and  OnDateSelected event of which OnDateSelected is the only useful one. I can catch the date whenever it is typed manually with client-side "onchange" event. But I want to access the value whenever the user selectes the date via the monthly view. But "OnDateSelected" event fires before the value is set to textbox of the calendar.

So, how can I copy the context on a Calendar-Text Box when the value is set by using the pop-up calendar?

Regards.
Utku Ozan
Top achievements
Rank 1
 answered on 03 Mar 2010
2 answers
95 views
Hi

I am using The RadGrid to add,edit,Delete the Employee detail (In line Edit mode).
I have two drop down column Country,State.
In Edit or ADD mode
When i selected the Country depends on the Country selected  i need to populate the State Drop down.
How can i achieve this.Which Event I need to handle.


Regards
Vairamtuhu

vairam
Top achievements
Rank 1
 answered on 03 Mar 2010
1 answer
172 views
Hello,

Is it possible to create a radEditor programmatically, add some content to it and then export the content to a PDF all at once, so the user never actually sees a radEditor on the page?  I'd also want the PDF to open in a new window though.

Thanks.

Steve


Rumen
Telerik team
 answered on 03 Mar 2010
2 answers
217 views
Hello ,

I created the Radlistview control using the following example 

but i want some controls such as text boxes which are inside Item Template, Alternate Template and insert Template,   as read only  on page load how do i achieve this ?

 can you give me a example of code how can i upload a data  in control  from a database such as text box  inside insert template as i am not able to figure to write  a code in  which event in Rad list view that will populate the data when user click on insert template.

I look forward to hear from you.

Thanks,
Imran



imran syed
Top achievements
Rank 1
 answered on 03 Mar 2010
2 answers
73 views
Hello All ,

 I wish to block all the Ctrl+V Operation in Rad Editor , i ve partially accomplished  this using the following code

    var CmdName = commandName.get_commandName();
    if (CmdName == "PastePlainText")
    {
        if (document.all)
        {
            var textLength = CalculateLength(editor);
            if (textLength >= maxTextLength)
            {
                alert(messageText);
                commandName.set_cancel(true);
                //return false;
            }
        }
    }
    else if(CmdName == "PasteFromWord"
            || CmdName == "PasteFromWordNoFontsNoSizes"
            || CmdName == "Paste"
            || CmdName == "PasteAsHtml"  )
            {
                 alert("nCtrl+V is not currently supported in Y-Change. Please click right mouse button click and select \"paste\" or \"paste plain text\" from the drop down menu. ");
                return;
            }
}

Above function works in IE well But fails in Firefox ??? what can i do further ?

Thanks
Prince
Dobromir
Telerik team
 answered on 03 Mar 2010
3 answers
229 views
Table properties allow table or cell background colours to be selected from a palette.

How do I set the background colour to any RGB?

Your help would be much appreciated.

Thanking you in anticipation.

Roger
Rumen
Telerik team
 answered on 03 Mar 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?