Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
94 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
71 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
118 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
228 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
76 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
3 answers
123 views
Hi there,

I have a panel that polls a web service regularly for updates. If there is some sort of communication error to the server I get a javascript error message saying that the method could not be called. Is there a way to supress this at all or capture it in some way and handle the exception manually?

Thanks v much, Carl
Svetlina Anati
Telerik team
 answered on 18 Sep 2009
1 answer
139 views
This RadGrid is very new to me, having just begun my evaluation of the product yesterday. I may be way off in everything you see below... :-)

I have a RadGrid with a NestedViewTemplate. Inside of that, I have a RadTabStrip that deep inside it has three RadPageViews. No problem there. One of them looks like this:

<telerik:RadPageView runat="server" ID="pvGraph" > 
    <chart:WebChartViewer ID="myChartControl" runat="server" Width="400px" Height="300px" /> 
</telerik:RadPageView> 

Using a different charting component is not an option at the moment. If I use the charting-component in a "bare-bones" asp.net page, i would then generate and display the graph using this code:

Dim myChartHelper As chartHelper = New chartHelper(dbConnectionString) 
myChartHelper.GetChartWeb(myChartControl, gridView1.SelectedValue) 

But.... when using Rad controls, how do I get a reference to the "myChartControl" control, and how do I pass the selected value from my RadGrid to the code, so I can use the SelectedValue as a parameter for my chartHelper.GetChartWeb method?

And how do I "delay" invokation of the GetChartWeb method, so the chart is generated on demand when a user clicks the "chart" tab of my tabstrip?

So far very impressed by what's possible with the RadGrid, but growing DEpressed with still being exactly where I was 24hrs ago. Stuck. :-(

Hoping all of this makes sense to someone :-))

J.Jespersen

Sebastian
Telerik team
 answered on 18 Sep 2009
3 answers
83 views
Hi - how do I programmatically add a header template and item template to a combo box?

Thanks
Yana
Telerik team
 answered on 18 Sep 2009
2 answers
128 views
Help!
I have a radgrid built that uses a custom editform.  In the updatecommand sub I follow all the Telerik standards... cast e.item to grideditableItem (id="eitem"); then search out controls by using trycast(eitem.findcontrol("object"), radtextbox).text.  This is how all the documentation is setup... but it will NOT work for me!  I have been working on this for 2 days now-- I have a note into Telerik support as well, but figured it couldn't hurt to ask the group...

I should add that I am using EditMode="popups" and EditFormType="templates".
JEFF KINSEY
Top achievements
Rank 1
 answered on 18 Sep 2009
2 answers
130 views
Hi all,

I have a radTreeView that generates itself on the page load event. Then, when the NodeExpand event is triggered, the node's child are added dynamically to the parent node. From there, everything works well.

Also, just after the page load event, a javascript method is called to add a click event on each icon of the tree. Here how I do this (I picked up the code from another thread in this forum) :

<script type="text/javascript"> 
 
      //This function must not be between tags with runat="server" 
      //It adds the click event to every icon in the tree 
      function pageLoad() { 
         
        var tree = $find("<%=oTreeUsers.ClientID %>"); 
        var i;       
        for (i = 0; i < tree.get_allNodes().length; i++) { 
          var value = tree.get_allNodes()[i].get_value(); 
          var imageElement = tree.get_allNodes()[i].get_imageElement(); 
          var textElement = tree.get_allNodes()[i].get_textElement(); 
 
          imageElement.id = tree.get_allNodes()[i].get_value(); 
          textElement.id = tree.get_allNodes()[i].get_value(); 
           
          if (imageElement.addEventListener) { 
            //FireFox 
            imageElement.onclick = function(e) { clickHandler(this, e); }; 
            imageElement.oncontextmenu = function(e) { clickHandler(this, e); }; 
            textElement.oncontextmenu = function(e) { clickHandler(this, e); }; 
          } 
          else { 
            //IE 
            imageElement.onclick = function() { clickHandler(this, window.event); }; 
            imageElement.oncontextmenu = function() { clickHandler(this, window.event); return false; }; 
            textElement.oncontextmenu = function() { clickHandler(this, window.event); return false; }; 
          } 
        } 
 
        function clickHandler(imageElement, e) { 
          ShowRadMenu(imageElement.id, e); 
        } 
 
 
      }       
  </script>  

When a user expand a node and all the sub nodes are created with the property oChildLeaf.ExpandMode = TreeNodeExpandMode.ServerSide, everything works well because the javascript method catch the new created nodes. The click event is then added to the icon of the nodes.

But when I set the oChildLeaf.ExpandMode = TreeNodeExpandMode.ServerSideCallBack to the created nodes, the javascript won't catch the new nodes because only a partial postback is sent to the server.

My problem is that I need to set the nodes of my tree to ServerSideCallBack for optimizing performance but the javascript click event won't follow. I tried using the ScriptManager.RegisterStartupScript method to call my javascript on the NodeExpand server-side event but it doesn't seem to work.

Can anyone help me on this?

 
Dominic Feron
Top achievements
Rank 1
 answered on 18 Sep 2009
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?