Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
Hi

I'd like to use the example of radupload in a Ajaxified Grid (http://demos.telerik.com/aspnet/prometheus/Controls/Examples/Integration/RadUploadInAjaxifiedGrid/DefaultCS.aspx?product=upload) but saving the images in a directory, and in the database save the path of these images.
How should I proceed?
Blaize
Top achievements
Rank 1
 answered on 20 Nov 2008
3 answers
230 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
123 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
114 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
158 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
120 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
272 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
796 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
70 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
475 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
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?