Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
194 views
We are having an issue with the RadGrid where the data is shown outside of its "view port" and progressively resized to fit.  While it is not a loss of data, crash, or otherwise fatal defect, I would like to know if there is a more attractive way for the client side to adjust itself before presenting thethe data?

Thanks,
Chris
Dimo
Telerik team
 answered on 12 Jan 2009
1 answer
236 views
I'm confused on how to setup my slider control to do the following:

1. I want to display each value (-10 - 10).
2. I want to be able to click on any number and have the slider slide directly to that value.
3. The Inox skin must have a formatting bug because the tick lines extend to far down over the number values.

I would think they must be a way to do want I want because I would guess it's the most common requirement.

I basically want a combo of these 2 examples (small and large change)
http://demos.telerik.com/aspnet-ajax/Slider/Examples/SmallChange/DefaultCS.aspx
http://demos.telerik.com/aspnet-ajax/Slider/Examples/LargeChange/DefaultCS.aspx

http://demos.telerik.com/aspnet-ajax/Slider/Examples/LargeChange/DefaultCS.aspx


Tsvetie
Telerik team
 answered on 12 Jan 2009
3 answers
190 views
Hello...

I have a RadGridView in an ASPX page. In the edit form template I placed a table with a lot of fields and a "save" button. That "save" button has the "Update" CommandName.

When that button si clicked, ItemCommand event is called. When I debug the code, e.CommandName value is "Update" which is right. After the ItemCommand method returns, UpdateCommand method is not executed.

What may be happening here? what is intercepting so that UpdateCommand is not executed right after ItemCommand?

Thanks in advance
Jaime
Shinu
Top achievements
Rank 2
 answered on 12 Jan 2009
1 answer
146 views

UserControl

userControl = (UserControl)e.Item.FindControl(GridEditFormItem.EditFormUserControlID);

 

 

 

 

 


every thing is going fine. but when i press the edit button the control is displayed with the data, and then when i press the update button it will jump into the UpdateCommand Event of radgrid. the above mention statement is written in the event but it is not giving the reference of the usercontrol.
Princy
Top achievements
Rank 2
 answered on 12 Jan 2009
1 answer
64 views
Hi,

The filter option in grid is great but is there any way that i can set that row to bottom of the grid.
Shinu
Top achievements
Rank 2
 answered on 12 Jan 2009
0 answers
121 views
http://channel9.msdn.com/posts/yochay/Windows-7-Ribbon-Markup-Overview/

Skip to about 1:30  to see the code.

MS are defining an XML markup standard for creating ribbonbars, as it's now a standard UI for Windows-7.

Where does this fit into the plan for the Telerik WebControl "RibbonBar" styled toolbar ??

MB
Top achievements
Rank 1
 asked on 12 Jan 2009
2 answers
149 views
Hi,

In the client API online documentation here, it is said the parameters for OnRowClick are :

gridDataItem - tablerow instance

domEvent - dom event


But, using Firebug, I get this that the sender is a RadGrid object, not a gridDataItem object.
sender = Object_element=div#ctl15_rgrdMembers.RadGrid 

Using the following function for example validates that the sender in not the row...
function RowClick(sender, eventArgs)  
{   
   alert(sender.get_element().getAttribute("id"));  

When trying to access sender.get_element().attributes, I do not get the <tr> attributes but the RadGrid's <div> attributes.

Am I missing something? Do I read the documention wrong ? I need to access a custom attribute in the <tr>. How can I do it ?

Thanks,

dstj.
dstj
Top achievements
Rank 1
 answered on 12 Jan 2009
3 answers
133 views
Hello i would love to the size of a radwindow to change according to its content. 
Is this possible?
Actually i am trying to use the rad window in replacement of an iframe.Thank you.

David
Top achievements
Rank 1
 answered on 11 Jan 2009
1 answer
82 views
I'd like to create a table where each 'row' spans multiple rows.

For instance something that renders approximately like this
<table border="1">
<tr><th>Book</th><th>Author</th><th>Pages</th></tr>
<tr><th colspan="3">Description</th></tr>
<tr><td>The Northern Clemency</td><td>Philip Hensher</td><td>608</td></tr>
<tr><td colspan="3">The Northern Clemency begins at the perimeter of a late-summer party, amidst a din of neighbors gossiping one moment and navigating awkward silences the next. But once you encounter the Glover family--in particular, their languidly handsome teenage son Daniel--there's no turning back. The story that follows calls to mind novels by some of our best-loved family chroniclers--John Updike and Jonathan Franzen, to be sure, as well as Ian McEwan and ...
</td></tr>
<tr><td>Hurry Down Sunshine</td><td>Michael Greenberg</td><td>240</td></tr>
<tr><td colspan="3">Michael Greenberg's spare, unflinching memoir begins with a bang: "On July 5, 1996, my daughter was struck mad." Hurry Down Sunshine chronicles the summer when fifteen-year-old Sally experienced her first full-blown manic episode—an event that in a "single stroke" changed her identity and, by extension, that of her entire family. Simply told and beautifully written, Greenberg's memoir shines a stark light on mental ...</td></tr>
</table>

Creating a hierarchy for this seems a little overkill.  The data for the '2nd row' of each record is part of the same datarow.  There is no real hierachy.  I just want to spread the data over multiple rows rather than having one really long row.

I didn't see any samples that did anything similar without hierarchies, and didn't see any documentation that looked to promising in this regard.

Is there a simple way to do this?  Or do I have to fake it using hierarchies?
S
Top achievements
Rank 1
 answered on 11 Jan 2009
7 answers
137 views
Hi,

I have a RadGrid bound to a LLBLGen datasource.  In 2008.2.723, everything works fine.

I upgraded to 2008.2.1001 and I receive an exception when filtering on a column from within the grid.  I then downgraded to 2008.2.723 and it worked again.

Exception:

<html><body><h1>/UI/test.aspx</h1><br>Reference Number: 3e059bb4-dacb-43a3-bdd0-ae0a891207a7<br>Offending URL: http://localhost:57301/UI/test.aspx?RadUrid=a9505c6c-b84b-4cd7-8968-7bf30415b2b7<br>Source: Telerik.Web.UI<br>Message: No property or field 'CommonBranch' exists in type 'EntityBase2'<br>Base error source: Telerik.Web.UI<br>Message: No property or field 'CommonBranch' exists in type 'EntityBase2'<br>Stack trace:    at Telerik.Web.UI.ExpressionParser.ParseMemberAccess(Type type, Expression instance)
   at Telerik.Web.UI.ExpressionParser.ParseIdentifier()
   at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
   at Telerik.Web.UI.ExpressionParser.ParsePrimary()
   at Telerik.Web.UI.ExpressionParser.ParseUnary()
   at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
   at Telerik.Web.UI.ExpressionParser.ParseAdditive()
   at Telerik.Web.UI.ExpressionParser.ParseComparison()
   at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
   at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
   at Telerik.Web.UI.ExpressionParser.ParseExpression()
   at Telerik.Web.UI.ExpressionParser.ParseParenExpression()
   at Telerik.Web.UI.ExpressionParser.ParsePrimaryStart()
   at Telerik.Web.UI.ExpressionParser.ParsePrimary()
   at Telerik.Web.UI.ExpressionParser.ParseUnary()
   at Telerik.Web.UI.ExpressionParser.ParseMultiplicative()
   at Telerik.Web.UI.ExpressionParser.ParseAdditive()
   at Telerik.Web.UI.ExpressionParser.ParseComparison()
   at Telerik.Web.UI.ExpressionParser.ParseLogicalAnd()
   at Telerik.Web.UI.ExpressionParser.ParseLogicalOr()
   at Telerik.Web.UI.ExpressionParser.ParseExpression()
   at Telerik.Web.UI.ExpressionParser.Parse(Type resultType)
   at Telerik.Web.UI.DynamicExpression.ParseLambda(ParameterExpression[] parameters, Type resultType, String expression, Object[] values)
   at Telerik.Web.UI.DynamicExpression.ParseLambda(Type itType, Type resultType, String expression, Object[] values)
   at Telerik.Web.UI.GridDynamicQueryable.Where(IQueryable source, String predicate, Object[] values)
   at Telerik.Web.UI.GridDataTableFromEnumerable.FillData35()
   at Telerik.Web.UI.GridDataTableFromEnumerable.FillData()
   at Telerik.Web.UI.GridResolveEnumerable.Initialize()
   at Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized()
   at Telerik.Web.UI.GridResolveEnumerable.get_DataTable()
   at Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
   at Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
   at Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields)
   at Telerik.Web.UI.GridTableView.get_ResolvedDataSource()
   at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource)
   at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
   at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
   at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
   at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
   at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
   at Telerik.Web.UI.GridTableView.PerformSelect()
   at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
   at Telerik.Web.UI.GridTableView.DataBind()
   at Telerik.Web.UI.GridTableView.Rebind()
   at Telerik.Web.UI.GridFilterCommandEventArgs.ExecuteCommand(Object source)
   at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
   at Telerik.Web.UI.GridItem.FireCommandEvent(String commandName, Object commandArgument)
   at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)</body></html>

The actual exception is coming from the datasource, but obviously something changed in RadGrid because it works in the old version but not in the new.  Any ideas?

Thanks.

Elias Ioannides
Top achievements
Rank 1
 answered on 11 Jan 2009
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?