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

I have added AjaxManager in master page and added AjaxManagerProxy in content Page. However, I don't see any controls when using ajaxsetup.

check attachment.

Regards,
Bharat
Sebastian
Telerik team
 answered on 11 Feb 2010
5 answers
1.0K+ views
I am using the Clear() method on the RadListBox items in an Update Panel.  The items are not being cleared from the list box when the method is called.  I'm also calling ClearSelection() on another list box to remove the item selections and this does not seem to be working either.  Both are callbacks in an UpdatePanel to an event being called on the server.

Warren
Genady Sergeev
Telerik team
 answered on 11 Feb 2010
1 answer
277 views

I have a RadDatePicker in which I load SpecialDays with many RadCalendarDay objects. I set the IsSelectable property of many of these to false. When the calendar dropdown is displayed, all dates are properly enabled or disabled.
But in the DateInput the user can still enter and submit one of the dates where IsSelectable=false.

I see all of the dates are in the client.  Is there any client-side script that can be used against that data to prevent submission of an invalid date?
If we need to validate on the server, I'm not certain of what the logic should look like. The following code detects the condition but I'm not sure if this is the right way to go about it:

protected void RadDatePicker1_SelectedDateChanged( object sender , Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs e )  
{  
    RadDatePicker picker = sender as RadDatePicker;  
    if ( e.NewDate == null )  
        return;  
    RadCalendarDay day = picker.Calendar.SpecialDays[ e.NewDate ];  
    if ( day.IsSelectable == false || day.IsDisabled == true )  
    {  
        // set picker to invalid state.  
        // display invalid selection message.  
        // stop other processing.  
        return;  
    }  
    // date is valid, OK to continue processing  

How would we invalidate date picker from the server like that, register a script and force the client to do it?

Thanks.

Martin
Telerik team
 answered on 11 Feb 2010
1 answer
119 views
Hi, When setting ShowContentDuringLoad="false" there is a progress loading instead of the old content, what can I do if I want to change the icon or remove it to be just blank screen?
thanks
Shinu
Top achievements
Rank 2
 answered on 11 Feb 2010
1 answer
95 views

 

Hi,
  I am using Radrotator, which fetches images from the Sharepoint list and it has the property RotatorType="Slideshow". The radrotator is placed in a sharepoint webpart.  The error i am getting is "Control is null or not an object" on the page load or when i refresh the page, it is working fine if all the images are exist in the sharepoint list, if some images are not present it is throwing the "Control is null or not an object". Suppose if there are 7 images in the sharepoint list, when the page is loaded it is loading all the images for the first iteration, when it comes to last slide ( image 7), throwing "Control is null or not an object"

Thanks,
Srikanth
Fiko
Telerik team
 answered on 11 Feb 2010
2 answers
207 views
Hi,

I have two problems with the BinaryImage Column.
The first: how to use the thing with LInq? Shall I extend my Ling2Sql generated class to convert the image column to a format the BinaryImage column can handle? If so - how?
By the way - the thing is around more than half a year - and can still not work with Linq directly?
Not sooo important - it works when I bind to a SQL Source.

The bigger problem. As I commented at this sample
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/raduploadinajaxifiedgrid/defaultcs.aspx?product=binaryimage
this is far away from reality. BUT - I guess this has something to with my problem.
The sample forces the user always to upload an image. This may be OK on insert operations.
But how about edit operations? The user made a mistake (typo) needs to change the text - and after the update the image is gone...

Or think about "long term" data. The user uploads an image, adds text....
After a longer period of time he has some additional information - and wants to add some text.
Unfortunately he has no access to the uploaded image...
Bad luck :)

I guess my customer is a bit sad if I tell him:
We will add an instruction like this:
You can only edit textual content when you can provide an image to upload. :)

To be clear:
I have a (if possible with the BinaryImage Column) Linq Datasource with an image (later there will be 2 images) and some text / date / number fields.
The user must be able to:
a.) Add a record with (or without) an image
--is there a simple way to provide a "No image" display?
b.) Edit a record without uploading a new (the old) image

That's all.

Thanks in advance
Manfred
Veli
Telerik team
 answered on 11 Feb 2010
1 answer
77 views
Hi!

I want to make an input that can take a string like this "56 9" and that should be interpreted as 1956-09-01, at the moment it's interpreting it as 1956-02-09 (February since that's the month of today). Can I force it to interpret the 9 as the month and not the day? My RadDateInput is configured like this:

DateFormat="yyyy-MM-dd"
DisplayDateFormat="yyyy-MM-dd"
Culture="sv-SE"

Side note: if I type in "56 9 3" it interprets it like 1956-09-03.
Dimo
Telerik team
 answered on 11 Feb 2010
1 answer
186 views

I found how to remove various filter option for all columns, which I'm doing below...

    Protected Sub RadGrid1_Init(ByVal sender As ObjectByVal e As System.EventArgs) Handles RadGrid1.Init  
        Dim menu As GridFilterMenu = RadGrid1.FilterMenu  
        For n As Integer = menu.Items.Count - 1 To 0 Step -1  
            Select Case menu.Items(n).Text  
                Case "Between""NotBetween""IsEmpty""NotIsEmpty" 
                    menu.Items.RemoveAt(n)  
            End Select 
        Next 
    End Sub 

I also know I can custom filter each column. But is there a way to alter the base filters for a given DataType?

For instance, for all boolean columns, I'd like to remove "IsNull" and "NotIsNull", without removing those 2 options from the common string and integer filters. By doing it this way, rather than by column, I'll automatically take care of any boolean columns I add later. Is that possible?
Tsvetoslav
Telerik team
 answered on 11 Feb 2010
2 answers
164 views
Sir,

I am inheriting the RadControl Class and creating a composite Custom control, but it is showing consistent errors.

Please tell me the procedure on how to create RAD COMBOBOX CUSTOM CONTROL .
If possible, send me a sample code regarding that.

Is it possible to have one extra control along with the Custom Control in Telrik. (i.e) Is it possible to create Composite Telerik Custom Control where you will have Two controls in the same Custom Control?.

I am barely in need of it, I have to tell the feasibility to my Poject manager. please reply as soon as possible.

Thanks,
Dhandapani.R
dhandapani.r@3rd-wave.com
Kalina
Telerik team
 answered on 11 Feb 2010
1 answer
369 views

Hallo,

i have a problem vwith my iis / 2003 Server r2 and can't fix it.

The web application has work with the rights of the user. (user, secret) The user has an account @ the domain and the rights to write an txt file to an folder(other Server)

IIS:.

Integrated Windows authentication + Digest authentication for Windows domain server

.

web.config:

<authentication mode="Windows" />
        <authorization>
            <deny users="?"/>
        </authorization>


<identity impersonate="true"  />


The web application can't write the file, but the user has all the rights.


If I write the login in the identity it works fine:
<identity impersonate="true" userName="domainname\user" password="secret" />


I don't understand why it is not possible toe write the file with the 1st solution,
Hope to get an help.

Best From
Dieter
Fiko
Telerik team
 answered on 11 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?