Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views
I got this runtime error when using RadAjaxPane
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
My code is

<

 

telerik:RadAjaxPanel ID="RadAjaxPanel3" runat="server" LoadingPanelID="LoadingPanel1">

 

 

 

<table width="100%" border="0" cellspacing="0" cellpadding="0">

 

 

<tr>

 

 

<td style="width: 105px"><a href="#" id="idCompliance" runat="server">><asp:ImageButton ID="btnCompliance" runat="server" ImageUrl="~/images/btn_compliance.gif" /></a></td>

 

 

<td style="width: 105px"><a href="#" id="IdCalc" runat="server"> <asp:ImageButton ID="btnCalc" runat="server" ImageUrl="~/images/btn_calculate.gif" /></a></td>

 

<%

If isProclose = True Then%>

 

 

<td style="width: 105px"><a href="#" id="idProcloseDownload" runat="server"><img src="<%=m_strVirtualPath%>images/btn_xml.gif" alt="" width="85" height="34" style="border-style: none" /></a></td>

 

 

<td style="width: 105px"><a href="#" id="idMathCorpInDownload" runat="server"><img src="<%=m_strVirtualPath%>images/btn_in.jpg" alt="" width="85" height="34" style="border-style: none" /></a></td>

 

 

<td style="width: 105px"><a href="#" id="idMathCorpOutDownload" runat="server"><img src="<%=m_strVirtualPath%>images/btn_out.jpg" alt="" width="85" height="34" style="border-style: none" /></a></td>

 

<%

End If%>

 

 

<td align="right"><a href="#" id="IdPrint" runat="server"><asp:ImageButton ID="btnPrint" runat="server" ImageUrl="~/images/btn_print.gif" /></a>&nbsp;

 

 

<a href="#" id="IdCourier" runat="server"><asp:ImageButton ID="btnCourier" runat="server" ImageUrl="~/images/btn_courier.gif" /></a></td>

 

 

</tr>

 

 

</table>

 

 

</telerik:RadAjaxPanel>
I know the server-side code "<%If isProclose = True Then%>" caused the error, If I removed it, it is back to work. But I can't remove it there are two many.

Your help is apprecated.
Thanks
Wei

 

Martin
Telerik team
 answered on 18 Sep 2009
1 answer
114 views
I've wired up some post-processing code to fire on DataBound and it works when the page index changes, the column order, datasource changes, but not when the page size changes.
Mira
Telerik team
 answered on 18 Sep 2009
4 answers
175 views
I have a slider that allows a user to select a certain month/year that will filter pertinent data.  The slider's items are dynamically added, and there are about 21 in all.  Because there are many month/year items, it is impossible to read the their text, as the individual item width has gotten so small.  I have used the http://demos.telerik.com/aspnet-ajax/slider/examples/valueandrange/defaultcs.aspx example to allow the selected item's full text to be displayed in a div, but I can't figure out how to keep the smushed text along the RadSlider from displaying.

I've tried the following:
  • Changing the slider's height to "0"
  • Setting each item's visibility to "false"
  • Setting each item's "style" attribute to "display: none;"
  • Setting the slider's LargeChange and SmallChange to high values
  • Setting each item's ForeColor to "White"

My application release date is coming up, so I'm getting pinched for time.  Thank you.

Ryan
Top achievements
Rank 1
 answered on 18 Sep 2009
5 answers
63 views
I have a MasterPage/ContentPage scenario.  I have 3 RadComboboxes on the content page that call a webservice to get populated.  The RadAjaxManager is on the Master page.  I have a RadAjaxManagerProxy on the content page.  I have the RadAjaxManagerProxy configured so that each RadCombobox updates itself and there is no postback if the selected index changes.  This works just fine.  If the first RadCombobox's selected index changes, I want to also Ajaxify a ASP.Net Gridview server control without causing a postback.  This is basic data filtering functionality.  I think I need to use a RadAjaxPanel around the Gridview, but I'm not quite sure how to link RadCombobox to update the Gridview or if I can use all these RadAjax controls on the same page.  So here I am looking for suggestions.

Thanks,
Rob
Sebastian
Telerik team
 answered on 18 Sep 2009
6 answers
242 views
Hi,

I am running into this problem when I am trying to allow dynamic theming...

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The control type 'Telerik.Web.UI.RadDockLayout' cannot be themed.

Source Error:

<
telerik:RadDockLayout Skin="Default" runat="server" />

SPECIAL NOTE

I am able to successfully theme the RadMenu using the same logic...

<

telerik:RadMenu Skin="Default" runat="server" />

This works fine.

CONCLUSION

Possibly, that you forgot to give permission in your dock class to allow theming?

Any Help is greatly appreciated!

Angela

Jim
Top achievements
Rank 1
 answered on 18 Sep 2009
3 answers
89 views
I've done everything in the Insert/Update/Delete at database level with queries example and yet when I try to read the edited values they are always NULL/blank.

I have:

EnableViewState: true
All of the AllowAutomatic* set to false
I'm setting my DataSource in OnNeedDataSource

The edited values are ALWAYS null. As others have said, this is supposed to be a RAD tool. I'm trying to convince my team that these tools are the better than custom controls because they are faster and easier to implement. There needs to be a COMPLETE tutorial for doing custom CRUD commands because that is likely what 99.999% of your users are doing.


Thanks,
Greg
Greg Smith
Top achievements
Rank 1
 answered on 18 Sep 2009
2 answers
68 views
We're using a treeview to provide a navigation tool.

At a certain level we want to display some hierarchical data.

Can any one think of a straightforward way of adding hierarchical data to a node in an existing tree without destroying the existing nodes?

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 18 Sep 2009
3 answers
117 views
Hi All,
I am looking for an example to creating a Grid, with child records displayed in a NestedViewTemplate & grid within that.. I know there is the .aspx example, but I am trying to rewrite to go into a SharePoint webpart, therefore need to rewrite it C# and am close to having it working, having parent child relationship problems. Anyone have any good examples?

-Brian
Iana Tsolova
Telerik team
 answered on 18 Sep 2009
11 answers
219 views
Hello again,

With our ever lasting quest to get our apps faster and faster we were forced to implement the WebService databinds (They did not like 400kb post backs each request on normal ajax)

With the webservice the callbacks got nuked down to just under 4kb, which needless to say is absolutly fantastic (about 10 times faster in all, the difference between: beeing able to twist your fingers on each postback and just beeing able to work without any downtime)
However lately we were getting reports that the timeline view and month view do not like resource grouping all that much while using the webservices version, while they do show the resources, and even get a proper call back to GetAppointments() it does not 'draw' the appointments.
Instead it throws a lovely: _e._model.addToBlocks is not a function in timelineview and a equally adorable this.get_activeModel().isVisible is not a function in month view.

Reading up through the documentation in webservicebinding-binding.html we noticed this:

Currently, Grouped views are not fully supported when using Web Service data binding. At the moment only Day and Week View grouped by resource are available. The rest will be supported in the next versions.

I think you can guess our question:

When?

We took these components based on 6 criterium:
  1. Easy implementation
  2. High scaleability
  3. Drag and drop capability from one control to the next
  4. Low to medium data flow
  5. Ability to bind appointments to a employee
  6. Ability to quickly overview all employee's appointments in a timeline view, with the employees on the left, and appointments next to them.

Now of the 6 all except 4 are available in the normal version with normal datasource binding, even with an ajaxmanager reducing the post backs.
Now in the Webservices version all except 6 are available, (And point 4 is even exceeding our expectations)
It would be most unfortunate if this 'fix' takes to long, our projects end date is closing in soon and we need this to work.
An awnser would be HIGHLY appreciated, a 'temporary/permanent' fix would be even better.

Regards, datamex.
T. Tsonev
Telerik team
 answered on 18 Sep 2009
3 answers
74 views
Hello,

I'm trying to use a .skin file for my toolbarbuttons to set the ImageUrl.  The issue that I'm seeing is when I have a SkinID specified for a RadToolBarButton and don't have the Text property assigned in the SkinId or on the RadToolBarButton itself, then the url that I specify for NavigateUrl doesn't work in IE (it does work in Firefox).  If I add the text property to the SkinID or to the RadToolBarButton then the link works as expected (text property needs to have text in it, link still doesn't work if it's an empty string)

Is there any way to get around this without adding text to the button or not using control skinning?

I'm using IE7 (haven't tried it in IE8 or IE6) and the latest version of the RadAjax tools (2009.2.826.35).
Kamen Bundev
Telerik team
 answered on 18 Sep 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?