Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views

 

hello all,

              I have used telerik controls through out my application.
when i run my application i get the folloing error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.21022; InfoPath.1; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Timestamp: Sun, 5 Jul 2009 13:28:37 UTC

Message: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'Object reference not'.
Line: 4723
Char: 21
Code: 0
URI:
http://admin.ikorusa.com/ScriptResource.axd?d=IvyElxg_oludDqEAbN3taHXP_hYWE1l6v7YqTKOwyAQ5KYIUVPsPJ6XGD5RTPu2ATOsn_nsGnkDFpewNr9OccJEXSaj3B7gn8XHc-Z5TK4M1&t=634123f4



please reply soon
thankx in advance
ritzie

Pavlina
Telerik team
 answered on 06 Jul 2009
5 answers
126 views
Hi
I am Suresh
 Can i know how to do the scrolling Like This:
http://jntu.ac.in/index.php?option=com_content&task=view&id=30&Itemid=42




When i click one linkbutton(HYDERABAD ) item it displays data.and when i click another one(KARIMNAGAR) it hides slowly First  data and display this link data.,
My question is :
Can i know how to do this?

Thanks.
Suresh

Suresh K
Top achievements
Rank 1
 answered on 06 Jul 2009
2 answers
170 views
I'm trying to get the tool tip manager to work in the grid while its in a modal popup. I've had an enormous amount of success using this with the scheduler control but the grid seems to be different. I followed the example posted to the T except for a few minor exceptions...i'm using a button instead of the way used in the example. The example worked but it displays the tooltip information in the same panel as the grid and causes the panel to stretch. I figured it was because i was using "UpdatePanel5.ContentTemplateContainer.Controls.Add(ctrl)" which causes the previous issue...so i changed the code up from the example to look like the following...all i need to know is how can i pass the parameter from the grid that i need? I have a hidden column called sffacilityid and thats the value i need returned.

                            <telerik:RadGrid ID="RadGrid_Search" runat="server" DataSourceID="DS_Facility_Hardware_Search" 
                                GridLines="None" Width="672px" AllowPaging="True" Height="349px" Style="margin-right: 0px"> 
                                <HeaderContextMenu EnableTheming="True"> 
                                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                                </HeaderContextMenu> 
                                <PagerStyle PageButtonCount="5" /> 
                                <MasterTableView AutoGenerateColumns="False" DataSourceID="DS_Facility_Hardware_Search"> 
                                    <RowIndicatorColumn> 
                                        <HeaderStyle Width="20px" /> 
                                    </RowIndicatorColumn> 
                                    <ExpandCollapseColumn> 
                                        <HeaderStyle Width="20px" /> 
                                    </ExpandCollapseColumn> 
                                    <Columns> 
                                        <telerik:GridTemplateColumn> 
                                            <ItemTemplate> 
                                                <asp:ImageButton ID="BtnMoreInfo" runat="server" ImageUrl="~/EDRC/Images/More_Info.png"> 
                                                </asp:ImageButton> 
                                            </ItemTemplate> 
                                        </telerik:GridTemplateColumn> 
                                        <telerik:GridBoundColumn DataField="FacilityID" DataType="System.Int32" HeaderText="FacilityID" 
                                            ReadOnly="True" SortExpression="FacilityID" UniqueName="FacilityID" Visible="false"> 
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn DataField="SFFacilityID" DataType="System.Int32" HeaderText="SFFacilityID" 
                                            SortExpression="SFFacilityID" UniqueName="SFFacilityID" Visible="false"> 
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn DataField="FacilityName" HeaderText="FacilityName" SortExpression="FacilityName" 
                                            UniqueName="FacilityName"> 
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn DataField="Website" HeaderText="Website" SortExpression="Website" 
                                            UniqueName="Website"> 
                                        </telerik:GridBoundColumn> 
                                    </Columns> 
                                </MasterTableView> 
                                <FilterMenu EnableTheming="True"> 
                                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
                                </FilterMenu> 
                                <%--                                <ClientSettings EnablePostBackOnRowClick="true"> 
                                 
                                </ClientSettings>--%> 
                                <ClientSettings EnableRowHoverStyle="true"> 
                                    <Selecting AllowRowSelect="True" /> 
                                </ClientSettings> 
                            </telerik:RadGrid> 
                        </td> 
                    </tr> 
                </table> 
                <div style="z-index: 10"> 
                    <telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" Width="520" Height="380" 
                        OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" AutoTooltipify="true" ShowEvent="OnClick" 
                        ManualClose="true" Modal="true" Position="TopLeft" AutoCloseDelay="0"> 
                    </telerik:RadToolTipManager> 
                </div> 
            </ContentTemplate> 
        </asp:UpdatePanel> 


 
    Private Sub RadGrid_Search_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid_Search.ItemDataBound 
        If e.Item.ItemType = GridItemType.Item OrElse e.Item.ItemType = GridItemType.AlternatingItem Then 
            Dim target As Control = e.Item.FindControl("BtnMoreInfo") 
            If Not [Object].Equals(target, Nothing) Then 
                If Not [Object].Equals(Me.RadToolTipManager1, Nothing) Then 
                    Dim currentRow As DataRowView = DirectCast(e.Item.DataItem, DataRowView) 
                    Me.RadToolTipManager1.TargetControls.Add(target.ClientID, currentRow.Row("SFFacilityID").ToString(), True) 
 
                End If 
            End If 
        End If 
    End Sub 
    Public Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) Handles RadToolTipManager1.AjaxUpdate 
        Dim ctrl As Control = Page.LoadControl("Controls/TTip.ascx") 
 
 
        Dim lblFacilityName As Label = ctrl.Controls(0) 
 
        Dim details As TTip = DirectCast(ctrl, TTip) 
 
        UpdatePanel5.ContentTemplateContainer.Controls.Add(ctrl) 
 
        Dim params(0) As SqlClient.SqlParameter 
        params(0) = New SqlClient.SqlParameter() 
        params(0).Value = 'WHAT DO I CALL HERE? 
        params(0).ParameterName = "@SFFacilityID" 
        Dim rd As SqlClient.SqlDataReader = Data.SqlHelper.ExecuteReader(EDRCConnString, "dbo.FacilityRefinedSelect", params) 
        While rd.Read 
            lblFacilityName.Text = rd.GetString(2) 
        End While 
        rd.Close() 
    End Sub 
 

Yavor
Telerik team
 answered on 06 Jul 2009
1 answer
163 views

1. Drag and drop does not work (js error) if used in a masterpage scenario IF the scriptmanager is in masterpage, for this to work, the script manager has to be added to the actual page and not masterpage
2. drag and drop does not workif the lists are inside a multipview with

 

RenderSelectedPageOnly

 

="true" 
if you guys cant repro these easily i can try to put a sample togather.

 

Genady Sergeev
Telerik team
 answered on 06 Jul 2009
1 answer
182 views
HI ,
    I am  using Telerik Q2 Version 2008.
    I have used rad upload control.In this i have set "InitialFileInputsCount" property of a upload control to "1".
    I want to give the functionality to upload 100 photos at once .That  means user can selects a directory on his computer and can select photos he wants to upload.The selected photos should be uploaded automatically one by one.
   That is i  want to give multiple file selection facility  to the user .
   
   Is this possible by using Rad upload control?Let me know if any demo projects are there.

   Please help me as early as possible.

Thnks.
  


Genady Sergeev
Telerik team
 answered on 06 Jul 2009
1 answer
53 views
Hi ,
I am using telerik controls Q1 AJAX 2009 controls on my website. But on all the screens , it gives this error " Access is denied".
what could be the reason. Can anybody help
thanks a lot
Sebastian
Telerik team
 answered on 06 Jul 2009
2 answers
248 views
Background:  
I am trying to create a RadDock  dynamically on an .aspx Page and further adding a Control(.acsx) in RadDock. The .acsx Control has a RadDatePicker, RadComboBox, asp:ImageButton controls etc in it. The .aspx page also contains a RadComboBox.

Issue:
In that Page, I need to repopulate the RadDock with Control when the RadDock moves from a RadDockZone to other RadDockZone .

I am try create this page with help of example that is published on the telerik site(Dynamically add Raddock)

I am getting some errors when I am trying to do so:

1.Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered.

2.Sys.InvalidOperationException: Type Telerik.Web.UI.RadComboBoxEventArgs has already been registered.

3.Sys.InvalidOperationException: Type Telerik.Web.UI.AttributeCollection has already been registered.

4.(missing : after property id)  Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadCalendar, {"_DayRenderChangedDays":{},"_FormatInfoArray":[["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["January","February","March","April","May","June","July","August","September","October","November","December",],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",],"dddd, MMMM dd, yyyy h:mm:ss tt","dddd, MMMM dd, yyyy","h:mm:ss tt","MMMM dd","ddd, dd MMM yyyy HH\':\'mm\':\'ss \'GMT\'","M/d/yyyy","h:mm tt","yyyy\'-\'MM\'-\'dd\'T\'HH\':\'mm\':\'ss","yyyy\'-\'MM\'-\'dd HH\':\'mm\':\'ss\'Z\'","MMMM, yyyy","AM","PM","/",":",0],"_ViewRepeatableDays":{},"_ViewsHash":{ctl00_MainCntrl_RadDock23512acf-a922-4af4-b1d3-871a17563fb3_C_widget_gridCalenderEventOrder_ctl00_ctl06_RadDatetxtFirstTextBox_calendar_Top : [[2009,7,1], 1]},"_calendarWeekRule":0,"_culture":"en-US","_enableViewSelector":false,"_firstDayOfWeek":7,"_postBackCall":"__doPostBack(\u0027ctl00$MainCntrl$RadDock23512acf-a922-4af4-b1d3-871a17563fb3$C$widget$gridCalenderEventOrder$ctl00$ctl06$RadDatetxtFirstTextBox$calendar\u0027,\u0027@@\u0027)","clientStateFieldID":"ctl00_MainCntrl_RadDock23512acf-a922-4af4-b1d3-871a17563fb3_C_widget_gridCalenderEventOrder_ctl00_ctl06_RadDatetxtFirstTextBox_calendar_ClientState","enabled":true,"monthYearNavigationSettings":["Today","OK","Cancel","Date is out of range.","False"],"skin":"Office2007","specialDaysArray":[],"stylesHash":{DayStyle: ["", ""],CalendarTableStyle: ["", "rcMainTable"],OtherMonthDayStyle: ["", "rcOtherMonth"],TitleStyle: ["", ""],SelectedDayStyle: ["", "rcSelected"],SelectorStyle: ["", ""],DisabledDayStyle: ["", "rcDisabled"],OutOfRangeDayStyle: ["", "rcOutOfRange"],WeekendDayStyle: ["", "rcWeekend"],DayOverStyle: ["", "rcHover"],FastNavigationStyle: ["", "RadCalendarMonthView RadCalendarMonthView_Office2007"],ViewSelectorStyle: ["", "rcViewSel"]},"useColumnHeadersAsSelectors":false,"useRowHeadersAsSelectors":false}, null, null, $get("ctl00_MainCntrl_RadDock23512acf-a922-4af4-b1d3-871a17563fb3_C_widget_gridCalenderEventOrder_ctl00_ctl06_RadDatetxtFirstTextBox_calendar"));
});

There is the code I am using to add the control in the RadDock

 Control widget = (Control)LoadControl(TagArr1[1]); //TagArr1[1] Control Url
 WidgetsControl_CalenderComponent widgetControl = (WidgetsControl_CalenderComponent)widget;

 dock.ContentContainer.Controls.Add(widget);
 widgetControl.IsSchoolHomePage = SessionInfo.IsSchoolHome;

Please let me know, how I can I avoid these errors?

Thank in advance
Harsh Verma
                                                                                                                                                      
                                                      













Pero
Telerik team
 answered on 06 Jul 2009
3 answers
185 views
I'm running into an issue, and want to know if anyone else is having the issue.

I have a grid with several columns.  AllowScroll and UseStaticHeaders are both set to true.

Every apperas to function fine.

Now, I want to change ONE column so that it's content wraps.

So I set...
 
boundColumn.HeaderStyle.Wrap = true;
boundColumn.ItemStyle.Wrap = true;
boundColumn.FooterStyle.Wrap = true;

Since I am wrapping, I also set a width for the column

boundColumn.HeaderStyle.Width = Unit.Pixel(100);
boundColumn.ItemStyle.Width = Unit.Pixel(100);
boundColumn.FooterStyle.Width = Unit.Pixel(100);

However, when I do this, it appears that ALL columns begin to wrap, and all columns shrink to fit within the size of the grid.

Has anyone else run into this?

Thanks,
Kuba

Dimo
Telerik team
 answered on 06 Jul 2009
1 answer
86 views
Hi there

I have download all .dll which is trial.
So, If I use it in my application then is that cause to expire after some time ??

Or what is the benefit if I purchase these controls ????

Very confusion...
Can any one help me???


Paul
Telerik team
 answered on 06 Jul 2009
2 answers
135 views
I am trying to access controls within the formtemple on an "external event" (happens to be a datasource_inserting, but can be anything).

All I have read so far have been on itembound/itemcreated or when a control within the grid raises the event.

Any suggestions?
Reuven
Top achievements
Rank 1
 answered on 06 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?