Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
Dear sir,
When I resize grid column, it not show  scroll . I measn increasing the column size or decreasing the column size grid never show me the horzontal scroll
how can I do It? help me
code follws:

<

 

telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource1" Skin="Vista" runat="server"

 

 

GridLines="None" Width="99%" ClientSettings-MasterTableView-Width="100%">

 

 

<MasterTableView Width="100%">

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Resizing AllowColumnResize="true" />

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

 

 

<asp:SqlDataSource ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"

 

 

ProviderName="System.Data.SqlClient" SelectCommand="SELECT TOP 25 EmployeeID,LastName,FirstName,Title,TitleOfCourtesy,BirthDate,HireDate,Address,City,Region,PostalCode,Country,HomePhone,Extension FROM Employees"

 

 

runat="server"></asp:SqlDataSource>

 


thanks and reagrds
Shinu
Top achievements
Rank 2
 answered on 05 May 2009
2 answers
283 views

How can I format the value in the chart to display as $8.7M when my data is 879773.
I have currently set it to  the following:

 

s.DefaultLabelValue =

"#Y{#,##0}"

Thank you
shahab

 

shahab
Top achievements
Rank 1
 answered on 05 May 2009
2 answers
129 views
Hi

I use a RadUpload to attach documents which are then rendered as records in a grid.
I upload a document by intercepting the OnClientFileSelected event of the upload control.

This all works fine.

What I want to do now is hide the input box as all I need is the 'browse' button.

Is there a way to hide the input box? or
Is there a way to fire the RadInput's click event from another control?

Cheers
Aaron
Aaron
Top achievements
Rank 1
 answered on 04 May 2009
1 answer
167 views
Hello,

I have some textboxes that need to be added to and removed from an input manager dynamically (to make the textboxes required or optional) depending on whether a checkbox is checked or not.

When the user clicks on a checkbox, I add my textboxes to the target controls using the following code:

    myInputManager.get_textBoxSettings()[0].addTargetInput(myTextbox.id);

Is there a way to subsequently remove my textboxes from the target controls once the user unclicks a checkbox?  I couldn't find a 'removeTargetInput' method in the client side api.

Thanks,
Marie

 

Todd Anglin
Top achievements
Rank 2
 answered on 04 May 2009
0 answers
93 views
Hello, 

I am trying to add some rules on the onClientNodeDropped event of a tree. How can i get the destination node on this event? i tried to do var dest=args.get_destNode(); but I was getting an error saying the object doesn't support this property or method.

Also , here is what i am trying to do. after dropping a node, in the onClientNodeDropped event i am trying to check what type of node that is (based on a custom attribute called itemtype) and trying to add editable fields (textboxes) as children to that node, into which user can enter data and on pressing enter the textboxes turn into labels with the values that have been entered...on clicking again they need to turn into textboxes, so the user can edit what ever they entered. how can I go about achieving this? (adding textbox controls client side). 

(basically, its letting the user enter parameters for a function that has been dropped from a functions tree onto another tree)

thanks much,
Chandana
chandana
Top achievements
Rank 1
 asked on 04 May 2009
3 answers
113 views
i have a scheduler with a number of resources. if i change the view to week/month, the cells shrink so small i can't read anything. i have tried to find something on horizontal scrolling, but i cannot get anything to work. i would like to be able to just set the cell width and have the horizontal scrolling kick in.

thanks,
susan
Susan
Top achievements
Rank 1
 answered on 04 May 2009
1 answer
321 views
Hello Telerik-Team,

I am new to using your controls and ran into the following problem:

I am using a RadGrid with a NestedViewTemplate, into which I put a Formview to display details for each grid entry.
The FormView contains several controls, checkboxes, dropdowns, textboxes, and  I need to check several dependencies between those controls using Javascript.

How can I easily gain access to the controls in each FormView in this scenario? Do I need a special findControl-method?

Hope you can help me, I am quite a bit confused atm.
Todd Anglin
Top achievements
Rank 2
 answered on 04 May 2009
0 answers
122 views
Hi

RadEditor ToolBar width is not fixing with the basic ToolFiles (undo, bold, Redo, Italic, etc..) 
If i fix the width of the RadEditor to 350px the toolbar width is not working
I want to fix RadEditor Tool width for 350px .

Thanks


Vittal
Top achievements
Rank 1
 asked on 04 May 2009
2 answers
164 views
Hi

I've got a Telerik grid that's Ajax enabled.  When a user clicks 'Refresh' the grid is updated with data that meets the constraints defined on the page.  That's all good.

On the same page I've got an MS Chart control that graphs data according to the same constraints on the page.  What I want is that when the 'Refresh' link on the grid is clicked the graph is also refreshed.  My question is how do I make this happen?  I've been playing around with the RadAjaxPanel and RadAjaxManager but without success unfortunately.

Regards,

Stewart

Todd
Telerik team
 answered on 04 May 2009
3 answers
205 views
Hi there,
Something we observed today in this regard.

We have an aspx page mainly consists of UserControls: 4 loaded declaratively and one dynamically loaded into a PlaceHolder. The aspx page mimics a 'Master' page with the Place Holder functioning as the container of app. pages that are loaded via Menu. Before using your controls, there was an iFrame in place of current PlaceHolder where pages were loaded into. Thanks to your controls and smart approach, app. aspx pages are now being converted to UserControls and loaded dynamically into a single aspx.

Said aspx page has a RadScriptManager (replacing ASP ScriptManager), RadAjaxManager and RadAjaxLoadingPanel. Dynamically loaded UCs contain RadAjaxManagerProxies as advised in documentation. Things went fine with first converted UC especially after ajaxifying most of the tasks of code-behind, which drastically reduced overhead and improved performance. Due to the efficiency of RadAjaxManager, we dropped all ASP UpdatePanls that were encapsulating most of the controls.

When we converted our first aspx page into UC, we used RadCodeBlock to wrap JS code, which went fine. However, when we injected another Proxy into one of the 4 declaratively loaded UCs (Menu UC), JS blocks of converted UC no longer became recognised; always returns errors: function x not declared! Replacing Menu Proxy with code-behind declaration didn't help, even if it was accomplished in aspx code-behind!

After hours of experimenting, we figured out the solution. Replace RadCodeBlock with RadScriptBlock! For some reason, RadCodeBlock only works with a single UC that has a Proxy or linked to main RadAjaxManager. With multiple Proxy instances (one per UC) concurrently processed, RadCodeBlock fails to operate!

Is this popular? If so, how come none of your documentation mentioned it?

We are using latest release: Q1 2009, downloaded last week. Hope someone find this helpful...

Regards,
Saed
Top achievements
Rank 1
 answered on 04 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?