Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
143 views
This may not be the best place to put this question but is it possible to enable the ability to sort the forum list by date last post?  When there are several thousand posts and I am only looking for the new ones since Q3 2008 came out it is difficult to find only the recent posts.  I am having a few issues with the latest version and would like to look through the posts to see if anyone else is having a similar issue before asking for help.

Thanks.

Tom
Raya
Telerik team
 answered on 18 Nov 2008
2 answers
120 views
I have a big problem with filtermenu when i use the radgrid in a frame.
I have a web app in asp .net with frames the problem is when export the radgrid to excel the filtermenu is disabled, its disappear, when you click the button of filter the filter menu does not appear. This problem only happens in IE 7 after you export to excel, before that the radgrid works perfectly, now if you work in a page without frames works perfectly i think the problem are frames.

I use RadControls for Asp.net AJAX Q3 2008
Jorge
Top achievements
Rank 1
 answered on 18 Nov 2008
3 answers
117 views
Do you have any examples of grids that remain the same height even when grouping, without using scrollbars? I ran across an example online that allowed you to group by one or more fields and it automatically adjusted the number of records per page to fit the additional grouping rows, avoiding the use of a scrollbar. This is really convenient for my customers since the pager doesn't keep moving each time you change pages (due to the height increasing when grouping is used. I'm assuming the grouping row heights would have to be the same height as the regular data rows, etc., so it always totals the same number of pixels.Do you have any examples on how this might be accomplished using RadGrid? If not, do you have any plans to implement such as feature. I can send the link to the example if requested. From a usability standpoint, this would be a great feature.
Dimo
Telerik team
 answered on 18 Nov 2008
1 answer
99 views
Ok let me explain.

i have 2 frames (1 for header an other for data) ok, on the first frame i use it JUST for header (one image) and second frame is all my site, ok when i invoke my menu.aspx with the frame page send me the error

Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: x
Actual value was NaN.

but when i DON'T use frame and use directly menu.aspx works perfect.

The error JUST appears in Windows internet explorer in Mozilla FIREFOX works perfect with frames

Why this happend

Note: sorry for my english
Yana
Telerik team
 answered on 18 Nov 2008
2 answers
125 views
Dear!

i have to RadCombo Boxes first cmbCountry, and send cmbCity, I need to display Hotels in RadGrid depending on Comboxes. What i have to do for loading the Data in RadGrid?

i have doubt on selected index change event of City Combo Box, but i am not sure how to use this.....

ASP.NET 2.0
RADControls ASP.NET AJAX Q2 2008
OS:Vista

<telerik:RadComboBox ID="cmbCountry" Runat="server" Skin="Hay" OnItemsRequested="cmbCountry_ItemsRequested" OnClientSelectedIndexChanging="LoadCities" MarkFirstMatch="true" HighlightTemplatedItems="true" >

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

</telerik:RadComboBox>



<telerik:RadComboBox ID="cmbCity" Runat="server" Skin="Hay" OnItemsRequested="cmbCity_ItemsRequested" OnSelectedIndexChanged="LoadHotels" MarkFirstMatch="true" HighlightTemplatedItems="true" >

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

</telerik:RadComboBox>


Sub LoadCountries()

Dim A As New Telerik.Web.UI.RadComboBoxItem


A.Text = "---Select Country---"


With cmbCountry

.DataTextField = "Country_Name"

.DataValueField = "Country_ID"

.DataSource = objCountry.AllCountriesByReader

.DataBind()


End With


cmbCountry.Items.Insert(0, A)


End Sub



Sub LoadCities(ByVal CountryID As String)
Dim A As New Telerik.Web.UI.RadComboBoxItem


A.Text = "---Select City---"


If String.IsNullOrEmpty(CountryID) = True Then Exit Sub

objCity.CnID = CType(CountryID, Integer)


With cmbCity
.DataTextField = "City_Name"

.DataValueField = "City_ID"

.DataSource = objCity.AllCitiesByCnID

.DataBind()

End With

End Sub

Sebastian
Telerik team
 answered on 18 Nov 2008
3 answers
116 views
<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" 
                        AllowSorting="True"   
                        AllowPaging="true"   
                        ShowFooter="true"   
                        DataSourceID="SqlDataSource1"   
                        PageSize="100"   
                        Skin="Web20"   
                        Width="50%"   
                        OnItemCommand="RadGrid1_ItemCommand"   
                        AllowMultiRowSelection="True"   
                        AutoGenerateColumns="False"   
                        VirtualItemCount="10000"   
                        OnSelectedIndexChanged="RadGrid1_SelectedIndexChanged">  
                        <ClientSettings> 
                            <Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="True">  
                             </Scrolling> 
                             <ClientEvents OnScroll="HandleScrolling" /> 
                             <Selecting AllowRowSelect="true" /> 
                        </ClientSettings> 
                        <SortingSettings SortedBackColor="BurlyWood" /> 
                        <MasterTableView AllowNaturalSort="False" AllowSorting="False" DataKeyNames="Patient_id" DataSourceID="SqlDataSource1" > 
                            <RowIndicatorColumn> 
                                <HeaderStyle Width="20px" /> 
                            </RowIndicatorColumn> 
                            <ExpandCollapseColumn> 
                                <HeaderStyle Width="20px" /> 
                            </ExpandCollapseColumn> 
                            <Columns>                                  
                                <telerik:GridBoundColumn DataField="ID" DataType="System.Int32" EmptyDataText="&amp;nbsp;" 
                                    HeaderText="ID" ReadOnly="True" SortExpression="ID" UniqueName="ID">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn DataField="Name" EmptyDataText="&amp;nbsp;" HeaderText="Name" 
                                    SortExpression="Name" UniqueName="Name">  
                                </telerik:GridBoundColumn>                                  
                            </Columns> 
                        </MasterTableView> 
                        <HeaderStyle Width="200px" /> 
                        <PagerStyle Mode="Slider" /> 
                        <SelectedItemStyle BackColor="#FFC0C0" /> 
                        <FilterMenu EnableTheming="True" Skin="Vista">  
                            <CollapseAnimation Duration="200" Type="OutQuint" /> 
                        </FilterMenu> 
                    </telerik:RadGrid> 
Hi,
    My cells are coming blank when there is no value defined in the database or when they are null.
Daniel
Telerik team
 answered on 18 Nov 2008
2 answers
109 views
Hi!

I'm using RadEditor for creating an email template editor. The problem is that the images embedded in the html are referenced like this:

<img src="/DEMO/uploads/images/123.jpg" /><br /> 

How can i do make the radeditor resolve those paths to the full url?

something like:

<img src="http://localhost:4222/DEMO/uploads/images/123.jpg" /><br /> 

Thanks!


Diego
Top achievements
Rank 1
 answered on 18 Nov 2008
5 answers
614 views
How do you have the calendar popup open above the DateInput field instead of below?  The problem I'm having is that I have a RadDatePicker control as the last element on my form and when I click the icon, the calendar popup actually gets cut off at the bottom of the screen.  I figure if the calendar popup opens above instead of below, the problem will be solved.  Even better would be if the popup determined automatically that it would be cut off by the bottom of the screen and just automatically made it show up above the dateinput field.
Daniel
Telerik team
 answered on 18 Nov 2008
15 answers
329 views
Hi

We have a custom dialog that allows the user to add a link that generates a link that calls some Javascript.  The link is added using code:

var newTextValue = "<a href=\"JavaScript:zoomToGIS('post','POSTCODE','"+reply+"')\" title=\""+rngSelection.htmlText+"\">"+rngSelection.htmlText+"</a>";                   

to give the link:
<a href="JavaScript:zoomToGIS('post','POSTCODE','DL1 5UE')" title="map">map</a>

However, when the page is checked in the link loses the javascript and is stored as:

<a title="map">map</a> 

Is there a way to make the link stay as we want?

Thanks
Peter
                                                    
Stanimir
Telerik team
 answered on 18 Nov 2008
8 answers
168 views
sir,
rebind grid in the content page on clicking a button on a usercontrol on the radwindow

Protected Sub imgbtnSearch_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles imgbtnSearch.Click

Dim strScript As String

strScript =

"<script language=javascript>"

strScript +=

"top.$get('btnRebindGrid').click();"

strScript +=

"<"

strScript +=

"/script>"

Page.RegisterStartupScript(

"MSGE", strScript)

End Sub

Its working for a normal page.bt wen i include master page its not workg

Svetlina Anati
Telerik team
 answered on 18 Nov 2008
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?