Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
195 views
Hi,

I had a problem to get value from editform template from a validator event.

    Public Sub ValidateOccupation(ByVal source As Object, ByVal e As ServerValidateEventArgs) 
        ' verifie s'il est en edition 
        Dim mess As StringString = String.Empty 
        If grdTerritory.EditItems.Count > 0 Then 
            Dim Description As StringString = String.Empty 
            Dim lstOcc As List(Of Occupation) = New List(Of Occupation) 
 
            Dim editedItem As GridItem = grdTerritory.EditItems(0) 
 
            DirectCast(editedItem.FindControl("lblErrorMessage"), Label).Text = mess 
 
            If GetInfoEditableItem(editedItem, Description, ID.ToString, lstOcc) Then 
                Try 
                    mess = OccupationValidator(ID.ToString, lstOcc, TerritoryAction.Update) 
                Catch ex As Exception 
                    Throw 
                End Try 
 
            End If 
 
            If Not String.IsNullOrEmpty(mess) Then 
                e.IsValid = False 
            Else 
                e.IsValid = True 
            End If 
        End If 

This DirectCast(editedItem.FindControl("lblErrorMessage"), Label) crash on NullReferenceException

How can access my label from my validator event into editTemplate on my item in editmode?

ty


Georgi Krustev
Telerik team
 answered on 29 Jan 2009
1 answer
155 views
I have two datepickers on a page that are using a shared calendar. The min date on both datepickers is "1/1/1900", however it is being ignored and the default of 1/1/1980 is being used. The datepickers and calendar are all in the same ajaxpanel. How do i get the control to honor the mindate property?

Thanks!
Princy
Top achievements
Rank 2
 answered on 29 Jan 2009
12 answers
200 views
While doing some pre-client testing, I discovered that 6.0 versions of IE / IE6 do not work with the RadDock's pin function/behavior.  If you undock a dockpanel and then pin it, the panel does not follow the page when you scroll.  This behavior does not occur on IE7.  I have also verified it on two different machines that are both running the same XP SP2 IE 6.0.2900 SP2.  I am using the latest 2008.2.1001.20 assembly version of Telerik.Web.UI.dll

I have found an old thread which talks about it this from May, and it said that this issue was to be resolved already.  FYI incase perhaps it was left out or is occurring now for a different reason: 
http://www.telerik.com/community/forums/aspnet-ajax/docking/raddock-ie-6-0.aspx 

much obliged for your time,
joseph johnson jr.
Nikolay Raykov
Telerik team
 answered on 29 Jan 2009
6 answers
114 views
I just went to the Forum that covers the Toolbar and did a search using the keyword "event" and no results came back, yet there are postings with the word "event" in the title. I tried other words that should have generated some results but any query I enter yields no results. Please check your server application that handles searching.
SonicImaging
Top achievements
Rank 1
 answered on 29 Jan 2009
1 answer
109 views
Hello,

Since using 1314.35 version, I have a strange behavior on a page.
This page is using ajaxManager from a masterPage with an ajaxmanagerproxy.
There is a RaTabStrip/RadMultiPage on the page, none of the two are in AjaxSettings senders, but in the updated controls of some of their buttons.
There is also a RadFormDecorator same configuration.
Some buttons from different PageViews are registered as ajaxsetting sender in AjaxManager with the radTabStrip/RadMultiPage/RadFormdecorator as updated controls, just like:
        <telerik:AjaxSetting AjaxControlID="ShipCountryField">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                <telerik:AjaxUpdatedControl ControlID="FormDecorator1" />
            </UpdatedControls>
        </telerik:AjaxSetting>

These buttons behave normally with a callback when clicked.
A last button is not in AjaxManager but part of a PageView.
This button now is doing callback in place of postback (apparently since 1314.35) ?

As this button triggers a Server.Transfer() I am now receiving a PageRequestManagerParseError and my page display no more change ?

Why this button is not doing postback: seems that now when buttons are in a Multipage, they do automatically callback, even when the multipage in not ajaxified ???


Thanks for help.
CS
Iana Tsolova
Telerik team
 answered on 29 Jan 2009
1 answer
90 views

The RadEditor says it is fully supported with .Net 2.0 but when I create a VS 2.0 project the RadControls never appear in the VS toolbox .

I also notice that the current version of the RadEditor requires version 3.5 of the .Net Framework since it uses the System.Web.Extensions file in that version.  Will it work if I swap in the 1.0 version?

Can you point me to the information I need to get the RadEditor working in a project running off of 3.0 of the .Net Framework (or 2.0).

Thanks.

Rumen
Telerik team
 answered on 29 Jan 2009
1 answer
127 views
Hi,
For me the raddatepicker's clientside event 'OnDateSelected'  is not trigeering in firefox .
can anyone help me in this
Thx,
jawaher
 

Princy
Top achievements
Rank 2
 answered on 29 Jan 2009
1 answer
167 views
Hello,
I'm having a problem that I was hoping you guys could help me with. As the sujects says, I have a combobox with serverside filtering. To reduce db strain, it should only do itemrequest when users press enter. Any tip on how to solve this?
Princy
Top achievements
Rank 2
 answered on 29 Jan 2009
3 answers
235 views

Hi,

I have a radgrid and within this radgrid, I have two comboboxes in the edit/insert form. I want to ajaxify the comboboxes, such that one combobox "onselectedindexchanged" event should refresh the second one. Additionally, I want to ajaxify the insert/update/delete operations of the radgrid too. So I wrote the following code:

       <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"  > 
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="RadComboBox1">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadComboBox2" LoadingPanelID="LoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="RadGrid1" > 
                      
                    <UpdatedControls> 
                      
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="LoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                           
                  
            </AjaxSettings> 
        </telerik:RadAjaxManager> 

The problem is; when radcombobox1 is changed, the whole radgrid refreshes, not just radcombobox2. How do I prevent this? I want only radcombobox2 refreshed when radcombobox1's index is changed.

Thanks in advance.

Note: Radcombobox1 and radcombobox2 is in edit form of the radgrid1.

Iana Tsolova
Telerik team
 answered on 29 Jan 2009
1 answer
89 views
Hi,

I am using Radcontrols. can we have radcontrols in web parts?
Nikolay Rusev
Telerik team
 answered on 29 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?