Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
184 views
Sorry but I have to open a new thead because I'm gettin an error when I try to reply the previous post (http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/site-don-39-t-work-after-update-telerik-libraries-2010-2-929-35-gt-2010-3-1317-35.aspx).

Yesterday I read this page (http://www.telerik.com/help/aspnet-ajax/troubleshooting.html), I tried adding permision to Telerik.Web.UI.WebResource.axd, others things related to the exception (sys is udefined and ajax load) but It still not working.

It's really very strange because I just changed the Telerik.Web.UI.dll.


When I view the source's page and I open the link to Telerik.Web.UI.WebReference.axd (http://localhost:3022/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radscriptmanager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aes-ES%3afab31106-1bd6-4491-9a14-59e0fc4a7081%3aea597d4b%3ab25378d2%3btelerik.web.ui%3aes-ES%3ad7b88a55-4248-43ee-a9ed-d9058fd97467%3a6c89d69d%3a678692ff%3bTelerik.Web.UI%2c+Version%3d2010.3.1317.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aes-ES%3ad7b88a55-4248-43ee-a9ed-d9058fd97467%3a16e4e7cd%3a86526ba7%3a874f8ea2%3af7645509%3aed16cbdc%3a58366029%3a24ee1bba%3af46195d3%3a1e771326%3aaa288e2d%3a19620875%3a490a9d4e%3abd8f85e4)

I'm getting this exception:

[NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.]
   Telerik.Web.UI.ScriptEntry.GetSerializedAssemblyInfo() +164
   Telerik.Web.UI.ScriptEntrySlot.SerializeScriptEntry(ScriptEntry scriptEntry) +25
   Telerik.Web.UI.ScriptEntryUrlBuilder.TryAddScriptEntry(ScriptEntry scriptEntry) +30
   Telerik.Web.UI.ScriptEntryUrlBuilder.RegisterScriptEntry(ScriptEntry scriptEntry) +162
   Telerik.Web.UI.CombinedScriptWriter.FilterValidScripts(List`1 scriptEntries) +160
   Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile() +1155
   Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context) +74
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Thank you very much!

BR,
Alejandro

Dominios Molinos
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
84 views
If I want to use my skin , i read i should use 2 properties:
EnableEmbeddedSkins=false;
Skin="MySkin";

but also 
EnableEmbeddedBaseStylesheet ?
Kate
Telerik team
 answered on 23 Feb 2011
1 answer
81 views
I am having a problem with an image displaying correctly in my RadRotator.  It appears that the image is zoomed in and far too large.  Below is my code for the RadRotator, now what could possibly be the problem?:

 

 

 

 

<telerik:RadRotator ID="RadRotator1" runat="server" FrameDuration="4000"

 

 

 

Width="100%" ItemWidth="100%" Height="400px" ItemHeight="400px" ScrollDirection="Left">

 

 

 

<Items>

 

 

 

<telerik:RadRotatorItem ID="item1" runat="server" >

 

 

 

<ItemTemplate>

 

 

 

<asp:Image ID="Image1" runat="server" Width="100%" ImageUrl="~/images/managedservices.jpg" />

 

 

 

</ItemTemplate>

 

 

 

</telerik:RadRotatorItem>

 

 

 

<telerik:RadRotatorItem ID="item2" runat="server" >

 

 

 

<ItemTemplate>

 

 

 

<asp:Image ID="Image2" runat="server" Width="100%" ImageUrl="~/images/ANTON.jpg" />

 

 

 

</ItemTemplate>

 

 

 

</telerik:RadRotatorItem>

 

 

 

<telerik:RadRotatorItem ID="item3" runat="server" >

 

 

 

<ItemTemplate>

 

 

 

<asp:Image ID="Image3" runat="server" Width="100%" ImageUrl="~/images/BOTTM.jpg" />

 

 

 

</ItemTemplate>

 

 

 

</telerik:RadRotatorItem>

 

 

 

</Items>

 

 

 

</telerik:RadRotator>

 

Marin Bratanov
Telerik team
 answered on 23 Feb 2011
2 answers
119 views
We have some namespace-qualified tags which users enter in the radeditor (using some custom buttons and editing windows), but it turns out that the browser or the editor is automatically adding <?xml:namespace prefix="myprefix"?> before these elements in IE8 and Chrome. (But not in Firefox.)

Any idea what it is?  I can't find a standards document that defines "xml:namespace", mostly because colons don't seem to work in Google.) 

More importantly, is there an elegant way to turn it off, or to I need to write a content filter to remove it?

Thanks,

-Mike
Mike Bridge
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
114 views
I am having a problem with an image displaying correctly in my RadRotator.  It appears that the image is zoomed in and far too large.  Below is my code for the RadRotator, now what could possibly be the problem?:

 

 

 

<telerik:RadRotator ID="RadRotator1" runat="server" FrameDuration="4000"

 

 

 

Width="100%" ItemWidth="100%" Height="400px" ItemHeight="400px" ScrollDirection="Left">

 

 

 

<Items>

 

 

 

<telerik:RadRotatorItem ID="item1" runat="server" >

 

 

 

<ItemTemplate>

 

 

 

<asp:Image ID="Image1" runat="server" Width="100%" ImageUrl="~/images/managedservices.jpg" />

 

 

 

</ItemTemplate>

 

 

 

</telerik:RadRotatorItem>

 

 

 

<telerik:RadRotatorItem ID="item2" runat="server" >

 

 

 

<ItemTemplate>

 

 

 

<asp:Image ID="Image2" runat="server" Width="100%" ImageUrl="~/images/ANTON.jpg" />

 

 

 

</ItemTemplate>

 

 

 

</telerik:RadRotatorItem>

 

 

 

<telerik:RadRotatorItem ID="item3" runat="server" >

 

 

 

<ItemTemplate>

 

 

 

<asp:Image ID="Image3" runat="server" Width="100%" ImageUrl="~/images/BOTTM.jpg" />

 

 

 

</ItemTemplate>

 

 

 

</telerik:RadRotatorItem>

 

 

 

</Items>

 

 

 

</telerik:RadRotator>

 

Marin Bratanov
Telerik team
 answered on 23 Feb 2011
12 answers
559 views
Hi,

I'm working with the RadMaskedTextBox to input telephone numbers with ext.
The problem that I have is when my phone number doesn't have a extension the value of the control is right aligned. 

Here are my lines : 

<telerik:RadMaskedTextBox ID="rmtbTel" runat="server" Width="103px"  Skin="Default2006" DisplayFormatPosition="left" DisplayMask="###.###.####x#####" Mask="###############" Enabled="False">
</telerik:RadMaskedTextBox>

I'm using ASP.NET AJAX Q1 2008 SP2 (Version Number 2008.1.619):.

Thanks for helping,

JB
Top achievements
Rank 1
 answered on 23 Feb 2011
2 answers
217 views
I am trying to drag a "Status" column to the Grouping header and I get the Javascript error  below:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: <target>.Expense and <source>.Expense have conflicting properties: DataType property mismatch.

The Expense column is a Decimal column.  I entered all of the data so I know it is a number.  Some of the Expense values might be null, but that is it.  Any ideas?  Below is my grid HTML on the Aspx page.

thanks

mark

 <telerik:RadGrid ID="radGridProjects" Width="1400px" runat="server" AllowFilteringByColumn="True"
                            AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" GridLines="None"
                            ShowGroupPanel="True" PageSize="50" Skin="WebBlue"                   OnSelectedIndexChanged="radGridProjects_SelectedIndexChanged"
                            OnItemDataBound="radGridProjects_ItemDataBound" ShowFooter="True" 
                            OnNeedDataSource="radGridProjects_NeedDataSource" 
                            EnableLinqExpressions="False">
                            <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True">
                                <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="380" />
                            </ClientSettings>
                            <MasterTableView ShowGroupFooter="true" >
                                <GroupByExpressions>
                                    <telerik:GridGroupByExpression>
                                        <SelectFields>
                                            <telerik:GridGroupByField FieldAlias="Team" FieldName="Team" SortOrder="Ascending"
                                                HeaderText="Team"></telerik:GridGroupByField>
                                        </SelectFields>
                                        <GroupByFields>
                                            <telerik:GridGroupByField FieldAlias="Team" FieldName="Team" SortOrder="Ascending"
                                                HeaderText="Team"></telerik:GridGroupByField>
                                        </GroupByFields>
                                    </telerik:GridGroupByExpression>
                                </GroupByExpressions>
                                <CommandItemSettings ExportToPdfText="Export to Pdf" />
                                <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                    <HeaderStyle Width="20px" />
                                </RowIndicatorColumn>
                                <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                    <HeaderStyle Width="20px" />
                                </ExpandCollapseColumn>
                                <Columns>
                                    <telerik:GridButtonColumn CommandName="Select" DataTextField="Name" FilterControlAltText="Filter ProjectColumn column"
                                        SortExpression="Name" Text="Select" UniqueName="ProjectColumn" HeaderText="Project">
                                        <HeaderStyle Width="150px" />
                                        <ItemStyle Width="150px" VerticalAlign="Top" />
                                    </telerik:GridButtonColumn>
                                    <telerik:GridBoundColumn DataField="Category.Name" FilterControlAltText="Filter column1 column"
                                        HeaderText="Category" UniqueName="colCategory" SortExpression="Category.Name">
                                        <HeaderStyle Width="115px" />
                                        <ItemStyle Width="115px" VerticalAlign="Top" HorizontalAlign="Center" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Priority" FilterControlAltText="Filter column column"
                                        HeaderText="Priority" SortExpression="Priority" UniqueName="colPriority" FilterControlWidth="25px">
                                        <HeaderStyle Width="65px" />
                                        <ItemStyle Width="65px" VerticalAlign="Top" HorizontalAlign="Center" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="StartDate" DataFormatString="{0:d}" DataType="System.DateTime"
                                        FilterControlAltText="Filter column2 column" HeaderText="Start Date" UniqueName="colStartDate"
                                        FilterControlWidth="60px" SortExpression="StartDate">
                                        <HeaderStyle Width="100px" />
                                        <ItemStyle Width="100px" VerticalAlign="Top" HorizontalAlign="Center" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="EndDate" DataFormatString="{0:d}" FilterControlAltText="Filter column3 column"
                                        HeaderText="End Date" UniqueName="colEndDate" FilterControlWidth="60px" SortExpression="EndDate">
                                        <HeaderStyle Width="100px" />
                                        <ItemStyle Width="100px" VerticalAlign="Top" HorizontalAlign="Center" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="ParStatus.Name" FilterControlAltText="Filter column4 column"
                                        HeaderText="Status" SortExpression="ParStatus.Name" UniqueName="colStatus">
                                        <HeaderStyle Width="115px" />
                                        <ItemStyle Width="115px" VerticalAlign="Top" HorizontalAlign="Center" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Team" FilterControlAltText="Filter column5 column"
                                        HeaderText="Team" SortExpression="Team" UniqueName="colTeam" FilterControlWidth="30px">
                                        <HeaderStyle Width="70px" />
                                        <ItemStyle Width="70px" VerticalAlign="Top" HorizontalAlign="Center" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="ProjectManager" FilterControlAltText="Filter column6 column"
                                        HeaderText="PM" SortExpression="ProjectManager" UniqueName="colPM" FilterControlWidth="30px">
                                        <HeaderStyle Width="70px" />
                                        <ItemStyle Width="70px" VerticalAlign="Top" HorizontalAlign="Center" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Resource" FilterControlAltText="Filter column7 column"
                                        HeaderText="Resources" SortExpression="Resource" UniqueName="colResource" 
                                        AllowFiltering="False">
                                        <HeaderStyle Width="125px" />
                                        <ItemStyle Width="125px" VerticalAlign="Top" HorizontalAlign="Left" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Expense" DataType="System.Int32" FilterControlAltText="Filter column8 column"
                                        HeaderText="Expense" SortExpression="Expense" UniqueName="colExpense" DataFormatString="{0:C0}"
                                        FilterControlWidth="50px" FooterText="Totals: " Aggregate="Sum">
                                        <HeaderStyle Width="90px" />
                                        <FooterStyle HorizontalAlign="Right" />
                                        <ItemStyle Width="90px" VerticalAlign="Top" HorizontalAlign="Right" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Capital" DataType="System.Int32" FilterControlAltText="Filter column9 column"
                                        HeaderText="Capital" SortExpression="Capital" UniqueName="colCapital" DataFormatString="{0:C0}"
                                        FilterControlWidth="50px" FooterText="$" Aggregate="Sum">
                                        <HeaderStyle Width="90px" />
                                        <FooterStyle HorizontalAlign="Right" />
                                        <ItemStyle Width="90px" VerticalAlign="Top" HorizontalAlign="Right" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Total" DataType="System.Int32" FilterControlAltText="Filter column10 column"
                                        HeaderText="Total" SortExpression="Total" UniqueName="colTotal" DataFormatString="{0:C0}"
                                        FilterControlWidth="50px" FooterText="$" Aggregate="Sum">
                                        <HeaderStyle Width="90px" />
                                        <FooterStyle HorizontalAlign="Right" />
                                        <ItemStyle Width="90px" VerticalAlign="Top" HorizontalAlign="Right" />
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Notes" FilterControlAltText="Filter column11 column"
                                        HeaderText="Notes" SortExpression="Notes" UniqueName="colNotes" 
                                        AllowFiltering="False">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Id" FilterControlAltText="Filter column12 column"
                                        UniqueName="colId" Visible="False">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="LastUpdate" DataFormatString="{0:d}" 
                                        FilterControlAltText="Filter column column" SortExpression="LastUdate" HeaderText="Updated" 
                                        UniqueName="colLastUpdate" FilterControlWidth="60px">
                                        <HeaderStyle Width="100px" />
                                        <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" />
                                    </telerik:GridBoundColumn>
                                </Columns>
                                <EditFormSettings>
                                    <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                    </EditColumn>
                                </EditFormSettings>
                            </MasterTableView>
                            <FilterMenu EnableImageSprites="False">
                            </FilterMenu>
                            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                            </HeaderContextMenu>
                        </telerik:RadGrid>
mark baer
Top achievements
Rank 1
 answered on 23 Feb 2011
1 answer
97 views
Hi!  I'm receiving the following error when clicking on 'Table Wizard' in the RadEditor...

System.IO.FileLoadException: Could not load file or assembly 'Telerik.Web.UI, Version=2010.3.1215.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


This is the only place I receive the error even though we have Telerik controls embedded throughout our web application.  I have checked the web.config file and the Editor, Widgets, and Dialog namespaces all have "assembly="Telerik.Web.UI, Version=2010.3.1215.35..."

Could someone provide some suggestions as to reasons I am receiving this error and/or possible solutions?
Thanks!
Amy
Top achievements
Rank 1
 answered on 23 Feb 2011
2 answers
85 views
Hello,
   I'm using telerik ORM Open Access and telerik ASP.net AJAX web components. I want to setup a RadGrid to show hierarchy with two related entities of ORM Open Access.
    I was looking for in all the forum pages, in the blogs, in the documentation. All examples use tableDataSources populated from database directly. I was serching in the Open Access forum also.
   What I do is set in code behind the datasource of the RadGrid with a linq query from Open Access. Now, I want to set one entity like datasource of MasterGrid and a related Entity like datasource of NestedGrid. The relation is a "one to many" association managed by ORM Open Access Domain Model.

   Is there any way to do it?

Thanks in advance, and sorry for my English.
Tajes
Top achievements
Rank 1
 answered on 23 Feb 2011
0 answers
73 views
We have created a visual web part in SharePoint 2010 which contains then RadScheduler control.

We have bound the data to the scheduler through code using data table. (the list data is being retreived in a data table)

The problem is that the bound data does not display on then page.

The data tables bound to the scheduler (i.e. resource and appointments) belong to a single dataset.

Also, when we do a view source of the sharepoint page we can see our data loaded in javascript, but this data does not load on the page.

Any help in this regard will be highly appreciated.

Regards,

HM
Huzefa
Top achievements
Rank 1
 asked on 23 Feb 2011
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?