Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
232 views
Hi, I'm having some problems when trying to insert/edit data using entity framework and telerik. Lets see 3 cases:

1) using an entity very simple without foreign keys:  the operations works fine
2) an entity with foreign keys: the edit operation works, but insert causes a 'null reference' error in InitInsert
3) an child entity:  only display data works, both editing and inserting don't works.

I've tried using EntityDataSource and direct binding using linq as source of data, but without success.

Do you have some example using entity framework?
Nikolay Rusev
Telerik team
 answered on 20 Nov 2008
1 answer
128 views

The next code works fine with previous version (Q2):

aspx in master page:  
   
 
< <telerik:RadWindowManager ID="rwm_master" runat="server" Skin="Vista">  
        <Windows> 
            <telerik:RadWindow ID="wndOcupado" runat="server" Title="Aviso" BorderWidth="1" Modal="true" 
                Animation="None" Behavior="none" VisibleStatusbar="false" VisibleTitlebar="false"   
                DestroyOnClose="false" Width="200" Height="150" NavigateUrl="Ocupado.aspx" ReloadOnShow="true" /> 
        </Windows> 
    </telerik:RadWindowManager> 
   
 
 
 
 
C# in code behind:  
 
 
 function Ocupado(blnEstado)  
{  
    var oManager = GetRadWindowManager();  
    var wnd = oManager.getWindowByName('wndOcupado');  
    if (wnd)  
    {  
        if (blnEstado)  
            wnd.show();  
        else      
            wnd.hide();  // <----Problem
    }  
}  
 
function OnRequestStart(sender, args)  
 {  
  Ocupado(true);  
 };  
      
 function OnResponseEnd(sender, args)  
 {  
    Ocupado(false);  
 }; 

After install Q3 the modal window disappears but the previous window is locked (gray color).

 

 

 

 

Svetlina Anati
Telerik team
 answered on 20 Nov 2008
1 answer
123 views
We have recently upgraded to latest ASP.NET Ajax components because we had noticed some errors in the editor component. In the last version (SP1), the opacity slider worked reverse as expected. A lighter image was saved as a darker one.

In this version, when i try to make a lighter image (less opacity), the slider works OK, but when i try to save the image, i obtain a popup window saying "insuficent memory", crashing the application.

¿Any ideas?

Thanks in advance
Nikolay Raykov
Telerik team
 answered on 20 Nov 2008
2 answers
163 views
Hi,

I am using a WebMethod to return RadTreeNodeData and the tree gets populated fine on demand. I have a requirement to pass more information to the web method when the treenode is expanded. Can someone please point me in the right direction so i may know how to pass additional information in the context parameter in the webmethod.

public RadTreeNodeData[] GetDirectoryNodes(RadTreeNodeData node, object context)

I searched on the forum and in the documentation but have not found any examples.

Thanks

Amar



Veselin Vasilev
Telerik team
 answered on 20 Nov 2008
1 answer
121 views
Iphone page transition simulation
over at componentone the have setup a cool iphone site that does the cool iphone page simulation really well. See http://www.componentone.com/i/#navmark-

My first thought was to use a tabstrip/multipage combination, but after seeing thourgh the examples I'm not so sure.





I was wondering if anyone had done a similar "thing" using telerik's asp.net components!

Paul
Telerik team
 answered on 20 Nov 2008
9 answers
281 views
How would I rename a file utilizing the Progress Monitoring found on the Demo at http://www.telerik.com/demos/aspnet/prometheus/Upload/Examples/CustomProgress/DefaultCS.aspx
Dave Miller
Top achievements
Rank 2
 answered on 20 Nov 2008
7 answers
818 views
Hi,

Is there any way to make RadEditor occupy 100% height of a RadSplitter pane and resize with it (or with the browser window)?

I have RadSplitter (with 3 panes - header pane and footer pane with fixed height and middle pane with RadEditor) set to occupy 100% height/width of a browser window. I want RadEditor to stretch/shrink (fill 100% of the middle pane) when user resizes the window (or RadWindow in which the page is loaded).

Currently, when I set RadEditor to 100% height, the content disappears - I can see only the toolbars.

Could you please provide me any useful solution (and maybe some simple example) to this situation?

Regards,
Piotr



Ralf Thietz
Top achievements
Rank 1
 answered on 20 Nov 2008
2 answers
73 views

 

protected void RadGrid1_PageIndexChanged(object source, Telerik.Web.UI.GridPageChangedEventArgs e)

 

{

RadGrid2.CurrentPageIndex = e.NewPageIndex;

RadGrid2.DataBind();

RadGrid1.MasterTableView.Items[0].Selected =

true;

 

RadGrid2.MasterTableView.Items[0].Selected =

true;

 

}



I have this code ...Basically when I change the page index of RadGrid1 ...The Page in RadGrid2 should also change ...It work perfectly..But I also wanted to select the top row ...The one that I have block doesn't work..Why?Any alternate way of doing things...

Dip
Top achievements
Rank 1
 answered on 20 Nov 2008
10 answers
491 views
Hi,

I'm looking for a way to create a thumbnail from the new image manager. I was able to do it with the old-non-prometheus version. In this version, i can't see the button anymore...

Thank you.

Pierrot
Rumen
Telerik team
 answered on 20 Nov 2008
3 answers
115 views

Showmoreresults button(The arrow below the dropdown) is displaying value twice in a combobox.
The same issue is present in the following example as well.

http://demos.telerik.com/ASPNET/Prometheus/Combobox/Examples/PopulatingWithData/AutoCompleteSql/DefaultCS.aspx 
If we select some value for example 'Berglunds snabbköp' from the dropdown. After clicking  on Select button one value is present in the dropdown which is correct. Now if Showmoreresults button is clicked it will display the above value twice in dropdown.

Could you please tell some way of resoving this issue?

Also the EnableVirtualScrolling="true" is not working first time. After clicking on the Showmoreresults button or on writing something in the textbox  eventually scroll starts working i.e. is populating  data.
Any help would be highly appreciated.

Yana
Telerik team
 answered on 20 Nov 2008
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?