Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
278 views

I have a relatively small asp.net web site project that I recently started using Telerik with.

It seems that since I introduced telerik into the project, every hour or so my VS 2008 will fail to build the website part of the solution, with the error:

Validating Web Site

(0): Build (web): Exception of type 'System.OutOfMemoryException' was thrown.

Closing and restarting VS fixes this issue.

Does anyone have any idea why this would be happening?

Aravinda
Top achievements
Rank 1
 answered on 03 Aug 2010
2 answers
70 views
I am implementing a Mega Drop-Down menu and am having a couple of troubles.  I have a dropdown list and also a textbox implementing jQuery's autocomplete.  When either the dropdown list items or the autocomplete items take focus, the menuitem collapses....this leaves me with the dropdown list items expanded or the autocomplete items expanded....but the menu closed.  How do I keep the menu item open when the focus moves to the ddl items or the autocomplete items?

Thanks!
Travis Martin
Top achievements
Rank 1
 answered on 03 Aug 2010
1 answer
90 views
Hello, I'm using the RadGrid with grouping and aggregate columns. Can I generate a "Custom Aggregate" column from the result of the sum of 2 others aggregate columns?
Martin
Telerik team
 answered on 03 Aug 2010
1 answer
137 views

I have few RAD combo boxes in my form view. I'm using ObjectDataSource for the RAD Combo boxes where "EnableAutomaticLoadOnDemand" is used. Other RadComboBoxes are populated on load with hand coded data source and data bind.

I'm using "EmptyMessage" and "Allow Custom Text" properties to get water mark empty message for all of them.

While entering the details or while submitting the form I want to validate that the RAD combo boxes should have selected item, selected text and selected value. I don’t want any custom text to get submitted. I just want to use the "Allow Custom Text" property to get water mark empty message and to do item request where "EnableAutomaticLoadOnDemand is used.

 Please give me example to validate in client side or server side or both. 

Regards
Pavlina
Telerik team
 answered on 03 Aug 2010
4 answers
99 views
Hi,
We have multiple projects hosted on same IIS 6 server, some of legacy projects need "run www service in iis 5.0 isolation mode" in IIS6,

But once we checked "run www service in iis 5.0 isolation mode" in IIS6, VS2008 web projects(we used RadGrid...) failed.

Any suggestion for how to run RADGrid/VS2008 web application under IIS6 "run www service in iis 5.0 isolation mode"?

thanks

daniel
daniel liu
Top achievements
Rank 1
 answered on 03 Aug 2010
2 answers
104 views
I'm using a RadWindow to display the View and Edit window for a record in a RadGrid row as the below code shows.  I'm trying to adjust the position of the RadWindow to be slightly above the default center of the screen by using the Top/Left attributes, but setting them doesn't seem to have any affect and the position of the RadWindow remains at center, I'm not sure what I'm doing wrong, any help is appreciated



        <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" OnItemCreated="RadGrid1_ItemCreated"
            OnDeleteCommand="RadGrid1_DeleteCommand" GridLines="None" AllowSorting="True"
            Skin="Web20" PageSize="20" FooterStyle-Wrap="false">
            <MasterTableView EditFormSettings-PopUpSettings-Modal="True" EditMode="PopUp" DataSourceID="SqlDataSource1"
                AutoGenerateColumns="False" DataKeyNames="ID" ShowFooter="True" AllowPaging="True">
                <Columns>
                    <telerik:GridBoundColumn DataField="Date Submitted" DataType="System.DateTime" HeaderText="Date Submitted"
                        ReadOnly="True" SortExpression="Date Submitted" UniqueName="Date Submitted">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="ReqCategory" HeaderText="ReqCategory" SortExpression="ReqCategory"
                        UniqueName="ReqCategory" Visible="False">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Title" HeaderText="Title" SortExpression="Title"
                        UniqueName="Title">
                    </telerik:GridBoundColumn>
                    <%-- <telerik:GridBoundColumn DataField="Description" HeaderText="Description"
                        SortExpression="Description" UniqueName="Description">
                    </telerik:GridBoundColumn>--%>
                    <telerik:GridBoundColumn DataField="Owner" HeaderText="Owner" SortExpression="Owner"
                        UniqueName="Owner">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Requestor" HeaderText="Requestor" SortExpression="Requestor"
                        UniqueName="Requestor">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Status" HeaderText="Status" SortExpression="Status"
                        UniqueName="Status">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Requested Completion" HeaderText="Requested Completion"
                        SortExpression="Requested Completion" UniqueName="Requested Completion">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Estimated Completion" HeaderText="Estimated Completion"
                        SortExpression="Estimated Completion" UniqueName="Estimated Completion">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Ticket Submitted By" HeaderText="Ticket Submitted By"
                        SortExpression="Ticket Submitted By" UniqueName="Ticket Submitted By">
                    </telerik:GridBoundColumn>
                    <telerik:GridTemplateColumn HeaderText="View Ticket" UniqueName="TemplateViewColumn">
                        <ItemTemplate>
                            <asp:HyperLink ID="ViewLink" runat="server" Text="View"></asp:HyperLink>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridTemplateColumn HeaderText="Edit Ticket" UniqueName="TemplateEditColumn">
                        <ItemTemplate>
                            <asp:HyperLink ID="EditLink" runat="server" Text="Edit"></asp:HyperLink>
                        </ItemTemplate>
                    </telerik:GridTemplateColumn>
                    <telerik:GridButtonColumn HeaderText="Drop Ticket" Text="Drop" CommandName="Delete"
                        UniqueName="Drop" ConfirmText="Are you sure you want to drop this ticket?" ConfirmTitle="Drop Ticket"                 ConfirmDialogType="RadWindow">
                    </telerik:GridButtonColumn>
                </Columns>
                <EditFormSettings>
                    <PopUpSettings Modal="True"></PopUpSettings>
                </EditFormSettings>
            </MasterTableView>
        </telerik:RadGrid>


        <telerik:RadWindowManager ID="RadWindowManager1" runat="server"
              Behaviors="Close" InitialBehaviors="None" >
            <Windows>
                <telerik:RadWindow ID="UserListDialog" runat="server" Title="Editing record" Height="500px"
                    Width="550px" ReloadOnShow="true" ShowContentDuringLoad="false"
                    Modal="true" VisibleStatusbar="False" Top="200px" Left="174px" />
            </Windows>
        </telerik:RadWindowManager>


PS; Forgive me for not formatting the code above, the code got pretty messy when I was trying to format it and so I left it as is to make it, hopefully, easier to read.
Richard
Top achievements
Rank 1
 answered on 03 Aug 2010
1 answer
92 views
Hello
I'm trying to combine those two samples in a functional demo
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandinput/defaultcs.aspx?product=grid

http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/groupfooter/defaultcs.aspx


My goal is to have RadNumericTextBox in the footer totals for each group area.
Could you please help me?
Best regards
Philippe
Pavlina
Telerik team
 answered on 03 Aug 2010
3 answers
68 views
Hi I have a rad grid and when ever I debug it, I always get this dynamic JS error...

Webpage Error: do u want to debug this webpage..if I click yes....I get Micrsoft JS runtime error: Object required..

Here is that JS code
<script language="javascript" type="text/javascript">

        function GridCreated(sender, args)

         {

            var scrollArea = sender.GridDataDiv;

            var dataHeight = sender.get_masterTableView().get_element().clientHeight;

            if(dataHeight < 350)

            {

scrollArea.style.height =dataHeight + 250 + "px";-------------------------at this line is the error.

 

            }

         }

         </script> 
Martin
Telerik team
 answered on 03 Aug 2010
5 answers
254 views
When typing into a combo box using Safari or Firefox the autocomplete text is not cleared when the input text does not match an existing item i.e. when typing Loughton this will autoselect Loughborough and will not clear unless I delete the autocompleted text.
Simon
Telerik team
 answered on 03 Aug 2010
2 answers
83 views
Hello,

I use RadEditor to edit pages in a wiki library in MOSS 2007.
I predefined the following paragraphs to be used in the FormatBlock dropdown:

  <paragraphs>
   <paragraph name="&lt;p class='Schrift_normal'>Normal&lt;/p>" value="&lt;p class='Schrift_normal'>" />
   <paragraph name="&lt;p class='Schrift_klein'>Klein&lt;/p>" value="&lt;p class='Schrift_klein'>" />
   <paragraph name="&lt;h1 class='Gliederungspunkt'>Gliederungspunkt&lt;/h1>" value="&lt;h1 class='Gliederungspunkt'>" />
   <paragraph name="&lt;h2 class='Ueberschrift_1'>Überschrift 1&lt;/h2>" value="&lt;h2 class='Ueberschrift_1'>" />
   <paragraph name="&lt;h3 class='Ueberschrift_2'>Überschrift 2&lt;/h3>" value="&lt;h3 class='Ueberschrift_2'>" />
  </paragraphs>

I explicitly want the H2 html tag in my example to be called "Überschrift 2" (I am using the German language localization)
The problem is when I click on a text that is enclosed in H2 tags <h2 class='Ueberschrift_1'>some text<h2>, the FormatBlock displays "Überschrift 2" instead of "Überschrift 1", which I predefined!
The same happens when I click on a text enclosed by <H1> tags. Instead of "Gliederungspunkt", the FormatBlock displays "Überschrift 1".
Is there any way to control what is being displayed in the FormatBlock dropdown on the OnClick event?

Thank you in advance!
Best regards,
Dimitar Kuzumski
Berufsgennosenschaft Metall Nord Süd
Mainz, Germany
Rumen
Telerik team
 answered on 03 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?