Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
Hi all,

Is there a way to assign different CSS to each column of the filter row?
please provide some suggestions.
Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 30 Apr 2012
2 answers
91 views
Hello Telerik team,
is it possible to stop the selection of a day in month view?
I'm using the Scheduler control and I'm using the OnClientTimeSlotClick property to overwrite the behaviour of the scheduler control when a day in the month view is clicked (I'm generating an own ajax request, save the selected day in the session variable and use an own css class to change the background of this day in the month view).
This works fine.

Furthermore I have supressed the default behaviour if the day in the date header is clicked, so the scheduler will not change to the day view with the selected day.
This works fine also.

But one problem is still there. If the date header of a day in month view is now clicked (NOT the day number and NOT one of the other <tr> which are used to render the day in the month view), then the hole day will have assigned the 'rsSelected' css class (and in my example a deep blue background will be use), BUT the OnClientTimeSlotClick event WILL NOT FIRE. That means my own javascript function will not be called AND the new selected day will not be saved in the session variable.

Is there a way to prevent this? I mean to fire the right event so my own java function for the OnClientTimeSlotClick event will be called?

Greetings,
Richard Huber.

Richard
Top achievements
Rank 1
 answered on 30 Apr 2012
1 answer
92 views
Hi there,

I have a problem regarding the select box i'm using in my application. I want to select multiple items in the box. However I want to customize it further by highlighting the selected items in a color of my choice. Please help me out.
Thanks in advance
SAVYO
Shinu
Top achievements
Rank 2
 answered on 30 Apr 2012
4 answers
161 views
When UseStaticHeaders=true and AllowScroll=true  and there is not enough data to cause the scroll bar to appear, the Header does not render properly where the scroll bar will be.  part of the header is not as tall as the rest.

This can be roughly corrected by setting the column widths, but when the grid is resized (due to moving splitter bars), the inconsistancy will show.
See attached

Using Skin="Office2007", but this appears to happen with all skins.

How can this be corrected?
Pavlina
Telerik team
 answered on 30 Apr 2012
1 answer
97 views
I am having issues with a collapsible panel I'm using which contains the RadDatePicker. It works fine in IE7 forward but in compatibility mode or IE6 the date input and calendar button do not reside inside of the collapsible panel. I have tried changing the ZIndex property on the RadDatePicker with the same results. I can add a z-index style setting to the date input or calendar element and it will place the particular element behind the panel but not inside. Any ideas on how to fix this?
Maria Ilieva
Telerik team
 answered on 30 Apr 2012
1 answer
106 views
Hi ,

I hope my question is simple one. I have searched in net, but could not end up with the good answer.

Can we align the node image.  ( i have set the image by  Node.ImageUrl = "test.jpg" ), right now its showing before the node text
like  image - Sample Text ,  i just wanna swap the order, i.e first the node text and then the node image. 

is it possible, if soo, could you guys pls help me to fix this?
Plamen
Telerik team
 answered on 30 Apr 2012
6 answers
1.5K+ views
Hi

I have a requirement to restrict a user from entering special character in the Radtextbox. I have tried both RegularExpressionValidator and CustomValidator with ClientValidationFunction, but both are capturing after user completes the entry. Just curious to know if we have any control just like AjaxTextbox extender so user will not be able to enter invalid characters instead of validating after the data entry.

Thanks
Vasil
Telerik team
 answered on 30 Apr 2012
2 answers
106 views
Hi,
I am using an RadAsyncUpload inside my grid, to upload a single file. When in edit mode, the existing file is supposed to be overwritten. But this is not the case. I have tried with several different ways to create the file (my example here is the last one) - I have also tried using File.WriteAllBytes. This is my code:
In create mode, the file is created perfectly...
Control asyncUpload1 = editableItem.EditManager.GetColumnEditor("FileNameWithExtension").ContainerControl.FindControl("AsyncUpload1");
if (asyncUpload1 != null && asyncUpload1 is RadAsyncUpload)
{
    if (((RadAsyncUpload)asyncUpload1).UploadedFiles.Count > 0)
    {
        UploadedFile uploadedFile = ((RadAsyncUpload)asyncUpload1).UploadedFiles[0];
        if (letterTemplate.FileNameWithExtension != uploadedFile.FileName && letterTemplate.FileNameWithExtension != null)
        {
            File.Delete(GetTemplatePath(letterTemplate.MunicipalityCode, letterTemplate.FileNameWithExtension));
        }
 
        letterTemplate.FileNameWithExtension = uploadedFile.FileName;
 
        byte[] buffer = new byte[uploadedFile.InputStream.Length + 1];
        uploadedFile.InputStream.Read(buffer, 0, buffer.Length);
 
        CreateDirectoryIfNotExistent(Server.MapPath(string.Format(TEMPLATE_PATH, letterTemplate.MunicipalityCode)));
        using (FileStream stream = new FileStream(GetTemplatePath(letterTemplate.MunicipalityCode, letterTemplate.FileNameWithExtension), FileMode.Create))
        {
            stream.Write(buffer, 0, buffer.Length);
        }
    }
    else if (e.CommandName == CMD_CREATE)
    {
        Label error = (Label)editableItem.EditManager.GetColumnEditor("FileNameWithExtension").ContainerControl.FindControl("lblError");
        error.Text = "Angiv en Word skabelon-fil.";
        return;
    }
}
Maria Ilieva
Telerik team
 answered on 30 Apr 2012
9 answers
152 views
Hi,

Is there a way to determine if a vertical scroll bar shown in the grid?

Thanks.
Covertix
Top achievements
Rank 1
 answered on 30 Apr 2012
1 answer
117 views
I can't find how to display the button add new record !
Shinu
Top achievements
Rank 2
 answered on 30 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?