Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
129 views
I have a bound grid autogenerating the columns.  One column as an abbreviation in it and another has a URL..  What I'd like to do is have the URL column just be a hyperlink for the abbreviation.  So, how can I make the abbreviation column a hyperlink column then how can i set the URL to be the value of the other column?
Dean
Top achievements
Rank 2
 answered on 13 Apr 2011
1 answer
84 views
Hi, I am trying to add grid lines to excelml or a border.  I want this applied to all styles no matter what style it is.  I tried to do this to the default styles, but my excel file won't open because it's "corrupt".  Here is my code:

        
For Each style As StyleElement In e.Styles
    Select Case style.Id
        Case "itemStyle"
            Dim borders As New BorderStylesCollection()
            Dim borderStyle As New BorderStyles
            For i As Integer = 1 To 4
                'four borders   
                borderStyle.PositionType = DirectCast(i, PositionType)
                borderStyle.Color = System.Drawing.Color.Black
                borderStyle.LineStyle = LineStyle.Continuous
                borderStyle.Weight = 1.0R
                borders.Add(borderStyle)
            Next
            For Each border As BorderStyles In borders
                style.Borders.Add(border)
            Next
            Exit Select
        Case "alternatingItemStyle"
            Dim borders As New BorderStylesCollection()
            Dim borderStyle As New BorderStyles
            For i As Integer = 1 To 4
                'four borders   
                borderStyle.PositionType = DirectCast(i, PositionType)
                borderStyle.Color = System.Drawing.Color.Black
                borderStyle.LineStyle = LineStyle.Continuous
                borderStyle.Weight = 1.0R
                borders.Add(borderStyle)
            Next
            For Each border As BorderStyles In borders
                style.Borders.Add(border)
            Next
            Exit Select
    End Select
Next

Can anyone help me?

Thank you.
GP
Top achievements
Rank 1
 answered on 13 Apr 2011
1 answer
76 views
I'm new to the teleric-controls.

I was having a look at an issue where the GridDateTimeColumn of the RadGrid didn't seem to working accordingly. The problem is the filter where the date-format of the database is different then the one displayed in the Grid. I have set the DataFormatString to {0:yyyy-MM-dd}, whereas in the database it is formatted to yyyy-MM-dd. When entering the date in the "filter-box" it also changes to a format that is different then the one expected (it seems to have turned the date around; for instance, yyyy-MM-dd-format has been dd-MM-yyyy-format).

I have been looking in the forums, but can't find a solution that quickly.


Kind Regards,

Pieter
Pieter Jelle
Top achievements
Rank 1
 answered on 13 Apr 2011
3 answers
111 views

Hello,

I have some questions about the insert, update and delete RadGrid:

1) By deleting a record, I want to display a yes/no alert. If the user confirm then the record is deleted, If not, then the alert is closed and the record stay. How can I do that?

2) I cant display a radwindow from the edit form, why? and how can I do that?

3) Before executing the delete action, I need to retrieve a specific value from the deleted record, for example the value which displayed in the "PagNam" column in order to remove the file with the name "PagNam" by deleting the record.
How can I do it?

Please, I need your hep,
It is appreciated to send me a sample code with an explaination.

Regards,
Bader

Dobromir
Telerik team
 answered on 13 Apr 2011
1 answer
169 views
Hi,
   I have a schedular which is used to store the staff appointment details.
I also have a dashboard module which has a grid view control to show all the appointments based on the date criteria given on dashboard.meaning if the date selected is 20 March 2011 ,then show all the appointments on the dashbaord which is Scheduled on 20 March 2011.
When a new appointment is created then its appoiintment is stored in a table named "AppointmentSchedular".If the appointment is a recursive appointment then the recursive information is stored in RECDATA field of the AppointmentSchedular table as Follows.
DTSTART:20110411T063000Z  DTEND:20110411T073000Z  RRULE:FREQ=WEEKLY;UNTIL=20110419T000000Z;INTERVAL=1;BYDAY=MO 

What i want is when a new appointment is created which is recursive,then I need to show the recursive appointment on the grid view on Dashbaord Page.
Eg:I created a recursive appointment of a staff on 11 April 2011. The Appointment is Daily basis till 15 April 2011.
So now what i need is, to show this particular appointment from 11 April 2011 to 15 April 2011 on the dashboard.

Urgent Help Needed...
Regards
Clyde
Top achievements
Rank 1
 answered on 13 Apr 2011
2 answers
74 views
I have radupload control on my web page with progress bar.

Every time I access the page (only used for uploading) and when I click on submit for the first time I dont get error but files are not uploaded.
If I continue to use that page with other files everything is ok.

If I go to another page and then back again, first upload is not working again.

I try IE9 anf FF4. Same thing!

Marko
Peter Filipov
Telerik team
 answered on 13 Apr 2011
6 answers
149 views
We are using q1 2011.  We are investigating the timeline view and like the slot duration to be 7 days and display 90 days at a time.  When the scheduler is configured this way a one day event will fill the whole 7 day week cell block.  We would like the appointment to only fill 1/7th of the cell horizontally.  We realize that setting the slot duration to one day will resolve this issue but we would like to display 90 days at a time and this creates horizontal scrolling.

I have played around with creating an item template and added a table with two rows.  The first being the title and the second row have 7 cells foreach day and color the corresponding day cell but this logic will become complicated with multiple day events going across weeks.

Any tips would be appreciated
Mike
Top achievements
Rank 1
 answered on 13 Apr 2011
1 answer
65 views
Hi,

I'm using the scheduler with webservice binding! everything is fine and the component works as expected. My only concern is performance wise. If I get between 40-50 appointments it works really fast but beyond that limit it starts to take a lot of time to render the appoinments (2> seconds).

I customize the appointment appearance on the appointmentcreated event but I don't do anything fancy there. If I remove all the customization it's still slow.

I wander if there has been improvements performance wise in the new release for the scheduler or not. As well if there is something that I can do so it takes less time (render the appointments in a lightweight mode). Having that much javascript it will get slower on some client machines I guess.

regards,

jose

Nikolay Tsenkov
Telerik team
 answered on 13 Apr 2011
1 answer
104 views

 

Hi,

I am using a user control in a radwindow manager. I using a simple requiredfiled validator on my user control, But if I add ny validator the rad window doesn't get open at all. Below is code on my page.

<
telerik:RadWindowManager runat="server" RestrictionZoneID="offsetElement" KeepInScreenBounds="True"

 

 

Modal="True" Animation="Fade" ID="RadWindowManager1" EnableShadow="false" ShowOnTopWhenMaximized="false"

 

 

Width="425" Height="525" DestroyOnClose="True" Behavior="Default" InitialBehavior="None"

 

 

OnClientClose="OnClientClose">

 

 

<Windows>

 


 

<telerik:RadWindow ID="RadWindowContactEditor" runat="server" Width="430" Height="350">

 

 

<ContentTemplate>

 

 

<uc7:ucCustomerContactEdit ID="ucCustomerContactEdit1" runat="server" />

 

 

</ContentTemplate>

 

 

</telerik:RadWindow>

 


 

</Windows>

 

 

</telerik:RadWindowManager>

 


Thanks
Marin Bratanov
Telerik team
 answered on 13 Apr 2011
5 answers
145 views
Hi there,

Having a problem with RadWindow - I have used the code outlined in your KB article http://www.telerik.com/support/kb/article/b454K-tgh-b454T-cee-b454c-cee.aspx (VB.net code) to open a radwindow to show upload progress. This control is tied in to an asp.net Create User Wizard to upload an image, which works fine.

However, when I then complete the account creation of the User Wizard control, the RadWindow fires again, showing upload progress for the image previously uploaded - what am I doing wrong?

thanks for any help anyone can provide!
GP
Top achievements
Rank 1
 answered on 13 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?