Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
188 views
Hi,
While using the AsyncFileupload tool in safari browser it giving strange behavior. On client side validation fail 'OnClientValidationFailed', the remove link/button appears. When i am clicking on Remove button/link a file browser windows open and 'OnClientDeleting'  client side event is not getting raised. The expected functionality is that the file upload text-box and button should come. I have set MaxFileInputsCount to 1 and MultipleFileSelection to false.If i choose some file in this file browser, now two rows appears. One for validation fail and second one for successfull upload.Here the remove buttons work for both the rows. This thing works fine in IE/Firefox. I am using safari 5.0.3.

Reply soon.
Helen
Telerik team
 answered on 10 Jan 2011
5 answers
644 views
I am implementing the RadWindow to facilitate poping up a window from a context menu on the RadTreeView control. Here is a snippet of the code:

<telerik:RadWindowManager ID="windowManager" runat="server" OnClientClose="Refresh">
    <Windows>
        <telerik:RadWindow runat="server" ID="window" Modal="true"></telerik:RadWindow>
    </Windows>
</telerik:RadWindowManager>

The URL that opens the window consists of a few querystring arguments that have GUIDs. So as a result, the URL is very long and looks like this:

http://rddev06/_layouts/LearningVillage/FolderManagement/MoveFolder.aspx?WebID=ad89d570-0efd-4741-af92-a422ccbca129&ListID=8ca6ea04-343b-4b55-a55a-139e3c2c3787&RootFolderID=d144c25e-aee0-4457-85cf-10b8af6a5216&ItemIDs=53

It seems to me that no matter what size (width) I specify, the RadWindow ignores the size spec. initially. It seems to expand the entire window to show the full URL in the status bar of the RadWindow popup.

I have even tried setting the VisibleStatusbar property on the RadWindow to false, and it doesn't do anything.

Has anyone else experienced the same issue. Again, I'm using the Prometheus controls.

Thanks!
Svetlina Anati
Telerik team
 answered on 10 Jan 2011
1 answer
44 views
hello
        I am using my form as User control in that form im having a link button which is used to see the over all view of records.  Those records will open in the new window(while using the Controls inside the userControl) then new window not opening.  Please help me on this isssue.


Thanks in advance
Svetlina Anati
Telerik team
 answered on 10 Jan 2011
1 answer
143 views
Hello,

I'm trying to send more information to process on the server side when a RadGrid Row is dropped. The issue is that the default postback event is very limited. You can't for example pass a simple string with a value. Right now the only solution I can think of is cancelling the RowDrop event in the client side and do another postback this time with my data passed in. Does anyone know another way to do it?

Seems very limited that you can have only a destination HTMLElement and a destination DataItem. Would be cool another argument let's say for passing arbitrary data.
Vasil
Telerik team
 answered on 10 Jan 2011
1 answer
271 views
Hi

I've tried to add some custom text dynamically from code behind to the calendardays based on some different code examples. It's working fine on pageload and all events is displayed in the calendar for the current month. But I'm not able to change month and display events from other months. In fact i can only switch month one time ex: from jan -> feb.

I've tried a coupe of different code examples all with the same month-problem. Any idea what I'm doing wrong?

        protected override void OnInit(EventArgs e)
        {
            Hashtable eventHash = GetEventCollection(false);
            DateTime rcDate = RadCalendar1.CalendarView.ViewStartDate;
            while (rcDate <= RadCalendar1.CalendarView.ViewEndDate)
            {
                string key = rcDate.ToString("yyyy-MM-dd");
                if (eventHash.ContainsKey(key))
                {
                    List<Event> eventList = (List<Event>)eventHash[key];
                    CalendarDayTemplate template = new CalendarDayTemplate(RadCalendar1, rcDate, eventList.Count);
                }
 
                rcDate = rcDate.AddDays(1.0);
            }
            base.OnInit(e);
        }
 
public class CalendarDayTemplate : ITemplate
    {
        private Control cellContent = new Control();
        public CalendarDayTemplate(RadCalendar myCalendar, DateTime cellDate, int myData)
        {
            RadCalendarDay newDay = new RadCalendarDay();
            PlaceHolder myPlaceHolder = new PlaceHolder();
            Page myPage = new Page();
 
            HtmlGenericControl divContainer = new HtmlGenericControl("div");
            divContainer.Attributes.Add("class", "CalendarDayContainer");
 
            HtmlGenericControl divDate = new HtmlGenericControl("div");
            divDate.Attributes.Add("class", "Date");
            divDate.InnerText = cellDate.Day.ToString();
 
            divContainer.Controls.Add(divDate);
 
            HtmlGenericControl divEvent = new HtmlGenericControl("div");
            divEvent.Attributes.Add("class", "Event");
 
            if (myData > 0)
                divEvent.InnerText = string.Concat(myData, " events");
 
            divContainer.Controls.Add(divEvent);
 
            myPlaceHolder.Controls.Add(divContainer);
 
            this.cellContent = myPlaceHolder;
 
            // Create a DayTemplate with a unique ID 
            DayTemplate dayTemplate = new DayTemplate();
            dayTemplate.ID = cellDate.ToString("MMddyyyy");
            dayTemplate.Content = this;
 
            // create a SpecialDay, associate it with the DayTemplate and add to Calendar 
            newDay.Date = cellDate;
            newDay.TemplateID = dayTemplate.ID;
            myCalendar.SpecialDays.Add(newDay);
 
            myCalendar.CalendarDayTemplates.Add(dayTemplate);
        }
 
        // Once the RadCalendar is instantiated this will be called once for each cell
        public void InstantiateIn(Control container)
        {
            container.Controls.Add(this.cellContent);
        }
    }
Marin
Telerik team
 answered on 10 Jan 2011
2 answers
247 views
Hi all,

In my website, every user has his/her own color and background image for Menu which are already saved in the database.
For example, user A has Image1, and Orange color.
Now I would like to apply Image1 for Menu background and Orange for selected Item on Menu.
I don't want to create a CSS for each user. 
What I need is using one CSS for all users and modified the code in the Server side to set the background image and color of selected item for particular user.

Thanks.

Andy.
Andy
Top achievements
Rank 1
 answered on 10 Jan 2011
1 answer
60 views
Hi,

I would like to find out if its possible to create a n-tier application that uses Rad controls that bind to WCF and then bind to Entity Framework. i know my wording might be incorrect but basically what the tittle of this thread imply.

Thanks in advance
Kiara
Top achievements
Rank 1
 answered on 10 Jan 2011
0 answers
76 views
HI;
We are using Telerik Grid /Hierarchy with Templates
 there are two issue first can you please tell us is there any way we can bind the events in the Innertemplate of Grid
since current functionality does not support that.
2. Can you please also tell us how to find Data when we click on the OuterTemplate
for example Indexitem for which row was click.
Please Reply ASAP
Manishkumar
Top achievements
Rank 1
 asked on 10 Jan 2011
4 answers
135 views
Is it possible to bind the scheduler to a dataview that isn't populated by SQL server? I'm familiar with the UDF.. but I work on postgres, so that won't work from me. If not, is there another solution here that I could use?

Right now I'm doing a select on the appointments table, and I see my recurrence rule column is saving properly:

"DTSTART:20110107T171000Z
DTEND:20110107T173000Z
RRULE:FREQ=DAILY;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR
"
But I can't seem to figure out how I can get the other days to see that recurring appointment.

Any suggestions?

Mitchell
Top achievements
Rank 1
 answered on 10 Jan 2011
2 answers
130 views
Hello, All,

Could somebody please give some info how to add new fonts to HTML editor control?

Thanks in adnvance, Rodion
Rodion
Top achievements
Rank 1
 answered on 10 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?