Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
122 views
hi there,
i'm using the treeview control and working within a confined space of 250pixels width. so i want to show a horizontal scrollbar when the item descriptions are longer than the viewable area but i dont ever want a vertical scrollbar, i just want it to expand down the page.

all is going well using:

style

="overflow-y:hidden;"



(which works in both IE and Firefox). there is just one annoying little glitch. in IE, the horizontal scrollbar hides the last item in the treeview whilst, in Firefox, it works perfectly?

any ideas? let me know if you need screenshots and i will open a support ticket.

full treeview code follows:

<telerik:RadTreeView ID="RadTreeView1" runat="server" DataSourceID="sqlHelp"

DataValueField="edc_keyval" DataTextField="edc_title" DataFieldID="edc_keyval"

DataFieldParentID="edc_parent_keyval" width="230px"

style="overflow-y:hidden;"

OnClientContextMenuItemClicked="onClientContextMenuItemClicked"

OnClientContextMenuShowing="onClientContextMenuShowing">

<contextmenus>

<telerik:RadTreeViewContextMenu ID="ROOT" runat="server" Skin="Outlook">

<Items>

<telerik:RadMenuItem Text="View This Help File" ImageUrl="~/IMG/ICO/view.gif"

Value="VIEW" />

</Items>

</telerik:RadTreeViewContextMenu>

</contextmenus>

</telerik:RadTreeView>

rdochert
Top achievements
Rank 1
 answered on 28 Feb 2008
1 answer
170 views
Hi, 

I woulld like to add a printer icon to the titlebar.  How do I add a custom icon to the titlebar?

- Kevin
Svetlina Anati
Telerik team
 answered on 28 Feb 2008
9 answers
831 views
Hi

I've got 2 raddatepickers in templatecolumns in a radgrid.

How do I update the Min/Max dates on one of these datepickers when a date is selected in the other datepicker?

Thanks

Richard
Iana Tsolova
Telerik team
 answered on 28 Feb 2008
2 answers
177 views
I am trying to use the CLIENT ID for the tooltip.

In AppointmentCreated event, I see that e.Appointment.ID value is correct appointment id value, but the client id is like:

ctl00_ContentPlaceHolder1_RadScheduler1_2_0
ctl00_ContentPlaceHolder1_RadScheduler1_3_0

I thought the last _0 is supposed to be the appointment id - isn't that true? How do I get the Client ID reflect the appointment id?

Piyush Bhatt
Top achievements
Rank 2
 answered on 28 Feb 2008
1 answer
195 views
Hi

I've got 3 grids on a page and on the load of the page I can highlight the first row of each grid using the following code.  I'll mention here that the Leave and Cost grid both relate to the ID of the Employees grid.


'select the first row in every page if no row selected

Protected Sub radgridEmployees_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles radgridEmployees.PreRender

If radgridEmployees.SelectedIndexes.Count = 0 Then

If radgridEmployees.Items.Count > 0 Then

radgridEmployees.SelectedIndexes.Add(0)

radgridEmployee_Costs.DataBind()

If radgridEmployee_Costs.Items.Count > 0 Then

radgridEmployee_Costs.SelectedIndexes.Add(0)

End If

radgridEmployee_Leave.DataBind()

If radgridEmployee_Leave.Items.Count > 0 Then

radgridEmployee_Leave.SelectedIndexes.Add(0)

End If

End If

End If

End Sub

I can however get the 1st row of the Leave and Costs grids to highlight when I click on a different row in the Employees grid.

What am I missing?  I've tried to use the above code (without the DataBind's) in a number of events but cant seem to get it to work.  Enable Client Side Row Selection is enabled for all the grids.

Thanks

Richard

Yavor
Telerik team
 answered on 28 Feb 2008
3 answers
220 views
Hi,

Can you suggest what is the best way to completely remove all javascript?  I know I can set allowScripts=false.  However, the following example doesn't got removed.
<a href="javascript:doSomething();">Click here</a>

Chris
Rumen
Telerik team
 answered on 28 Feb 2008
5 answers
336 views
Using the latest version of RadGrid Prometheus and I have the following settings applied to my export.

'Make all columns visible to the export 
        RadGrid1.MasterTableView.ExportToExcel() 
 
        'setup properties for the data export 
        RadGrid1.ExportSettings.IgnorePaging = True 
        RadGrid1.ExportSettings.ExportOnlyData = True 
        RadGrid1.ExportSettings.OpenInNewWindow = True 
        'Set default file name of export file 
        RadGrid1.ExportSettings.FileName = "type your file name here" 
 

The export turns out well except for the fact that something is plugging in 2 empty columns in front of all my exported data. Is this a known bug of some kind and if so is there a workaround?

I do have 2 columns that have Display="false" in their properties...is it linked to this?
Steve
Telerik team
 answered on 28 Feb 2008
1 answer
142 views
I am trying to enable Telerik controls on MOSS website.

1- I have .Net 3.5 installed
2- I have configured the site as per MOSS_Whitepaper
3- I have created javascript files refering to MicrosoftAjax.js

But when I try to render the page on IE, the javascript functions are not recognized.

Thanks
Rumen
Telerik team
 answered on 28 Feb 2008
1 answer
139 views
Hello,

I have rowIndex got from ItemDataBound and I wanna get item object, not only dataitem but also GridGroupHeaderItem, from javascript function. How can I achieve that?

Cheers,
Elton
Prangadj
Top achievements
Rank 1
 answered on 28 Feb 2008
2 answers
98 views
When you highlight some text and use the document manager to create the link the text is replaced by the name of the document you are linking to.

In the link manager you are shown, and can amend, the link text.  How can a user do this with the document manager?

Thanks
Pete Cleary
Top achievements
Rank 1
 answered on 28 Feb 2008
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?