Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
420 views
Apologies for the slightly aggressive title, but I have been coding, googling, and browsing the forums for hours, and I am basically no nearer to getting anything to work!

Your advice on working with Entity Framework objects is all over the place, and I can't seem to work out a simple answer.  One page says I should bind to an EntityDataSource, the next says that NeedDataSource is the preferred binding method for Entity Framework.  Oh and for good measure, some people say ObjectDataSource should be used (this is related to the fact I'm using Code First POCOs).  So here are my challenges:

Binding through EntityDataSource
If I bind through the entity data source, it works for a whole 1 request, that is to say that no postback operations work in the slightest.  I set up my entity data source, enabled updates/deletes/inserts, and I can click anything I like, but nothing actually seems to interact with the data source.  I see the following events on deleting for example:
  1. Click delete
  2. Grid deletecommand event fires, where all references to the data item in question are null
  3. No call to data source events
  4. NeedDataSource is called
  5. Result - no effect

Binding through NeedDataSource
This can not possibly be the recommended approach!  Everything becomes manual to the point of complete frustration and the only benefit I get from the grid is it looks pretty!  Everything from Sort Expressions, to grouping, to OH MY WORD filtering (what a nightmare) becomes a hassle from hell.  What the heck is the idea behind using dynamic linq expressions for filtering???  Can't you just spit out some predicates or something.  Yeah it might not be that simple, but you guys have a heck of a lot of developers there.

Entity Framework is I admit newer than sql, but come on, it's not that new!  It's not like we're on CTP V1, we're now expecting V5 of Entity Framework and apologies, but it's high time telerik caught up.  It's starting to feel like the ASP.NET controls are losing funding and you guys are on your way to retiring them.  If that's the case, please just say so, so I can go out and advise clients to move to a different control suite if they want to build ASP.NET apps.

By the way, don't get me wrong, I've been a Telerik fan for a long time, and Sitefinity, Kendo, and the rest of your product line are all pretty fantastic (OpenAccess is an odd one, but you can't do everything perfect!! :)

I appreciate that this post is about 40% fuelled by a tired mind frustrated at not being able to accomplish what I'm trying to do, but that should also be a concern for you.  If I can't find what I need from your forums, documentation and examples, I'm not going to be a happy customer... oh wait, that's exactly what I'm not right now!

Please help me keep some of my hair from going grey.  Obi Wan Telerik, you're my only hope!

(p.s I know this post is devoid of code examples, but if I was to post all the things I've tried, I'd cause out of memory exceptions in your web server or disk space problems for your dba's, so if you can point me in the right direction, I'll let you know where I've been already down that road.)
Shinu
Top achievements
Rank 2
 answered on 09 Nov 2012
4 answers
459 views
I'm trying out the upload controls on MVC, but I'm having some small problems.

When I'm using RadUpload, the Progress is only showed on really large files. However when that happens, the controller action is triggered before recieving the file, so I get no file in the action, and later an uploaded file that the server never notice.

When I'm using RadAsyncUpload it seems to upload nicely, but I can't figure out how I should reach the files in the controller action when eventually posting the form.

Any ideas or opinions?
Plamen
Telerik team
 answered on 09 Nov 2012
5 answers
114 views
Hi

I have a couple of things in my query:
1. I spotted an bug in the Metro touch skin , on your demos as well as my implementation the alignment property on the bootm drop down does not allow you to select an alignment , this happens on tables too, also the fileds are so big that they flow over the editor.

2. I am developing a dynamic form designer , what i would like to do is create pre defined elements that can be dragged on to the designer. and when selected display a property panel with pre defined properties.These elements will be of combined markup for example.
<div class="designElement" id="element1">
<table>
<tr>
<td>Some Text</td>
<td><img src="img.png"></td>
</tr>
</table>
</div>

For this to be able to work I wish to block the inner html of the for being edited by the designer.
also I would like to know is there a javascript method I can Use in order to get the element that is selected.

So In short I would like to select the element (of class designelement) in the designer and return the ID when clicked but I down want any element in the inner HTML of that div to be changeable through the designer.

Stanimir
Telerik team
 answered on 09 Nov 2012
1 answer
251 views
Hi,
I am struggling to set the selected index for the first page, it works for the 2nd page, but not the first page, the tab selects but it displays the second page. Am i missing a tag?

<telerik:RadTabStrip ID="RadTabStrip1" runat="server"
        MultiPageID="RadMultiPage1" SelectedIndex="0">
        <Tabs>
            <telerik:RadTab runat="server" PageViewID="pageStandardProject"
                Text="Standard Project" Selected="True">
            </telerik:RadTab>
 
            <telerik:RadTab runat="server" PageViewID="pageBillOfQuantities"
                Text="Bill of Quantities">
            </telerik:RadTab>
            <telerik:RadTab runat="server" PageViewID="pageAudit" Text="Audit">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>

Thanks in Advance
Ryan
Shinu
Top achievements
Rank 2
 answered on 09 Nov 2012
9 answers
193 views
Hi everyone,

I am attempting to create an application page in SharePoint 2010 using Telerik ASP.NET AJAX controls. I created an empty SharePoint project (see attached file 'solution.png') then added an application page project. I am referencing Telerik.Web.UI. However, I am getting an error (see attached file 'error.png') saying the assembly Telerik.Web.UI cannot be found.

I think the error lies here: SharePoint 2010 is purely 64-bit. It seems that I have the Telerik controls installed but they reside in the directory 'C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 2012\Bin35'. Assembly Telerik.Web.UI exists in the GAC but I think they're of the wrong versions (see attached file 'Assembly.png').

Could this be giving me these errors?
Stanimir
Telerik team
 answered on 09 Nov 2012
1 answer
82 views
Hi,

I'm working on a radwindow that behave like the example on this page (Ajax / Loading user controls)
What i would like is the loaded control to be submitted using it's inner submit button (I manage to do that..) but also when another control is asked to be loaded.
I already manage to do a javascript check before changing tab but i do not manage to submit my control content by the same time.
I think I need to isolate in the control page_load the fact that a button or link has been clicked in the page containin my control but i have no idea to do so !
If anyone has an idea...it would be great and really helpfull !

Thanks in advance

Pierre Henri
Pierre-Henri
Top achievements
Rank 1
 answered on 09 Nov 2012
8 answers
259 views
Hi,

I am using "RadCompression" to reduce size viewstate and session.
In test and dev machine the article work fine. 

But I am getting following error in our live server we are not using any web farm.
"System.ArgumentException: SessionPageStatePersister can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive."

When I use HiddenFieldPageStateCompression it doesn't compress much.

Any solutions?



Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
199 views
hello to telerik team.

how can i have a RadNumerikTextbox or RadTextBox as a Label.
for example i have a clear style (simple style) RadNumerikTextbox or RadTextBox. like a simple label.

tanks.
bye.
Shinu
Top achievements
Rank 2
 answered on 09 Nov 2012
3 answers
474 views
I have a radgrid that uses a popup edit form. I want to get a reference to a checkbox that is on this edit form using javascript. How can I do this?
Shinu
Top achievements
Rank 2
 answered on 09 Nov 2012
1 answer
233 views
Hi, 

I would like to add a custom menu to the appointment context menu, that will only be available on weekview and monthview.
That menu should switch the scheduler to the dayview.

Ive been able to implement the extra menu item but i dont know how to tell the scheduler, from inside the AppointmentContextMenuItemClicked event to switch views and update.

Any ideas?
Princy
Top achievements
Rank 2
 answered on 09 Nov 2012
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?