Telerik Forums
UI for WPF Forum
5 answers
143 views
Hi,

I have downloaded latest trial verision of Wpf RadControls. They are working very good, but there is one exception. I can not drop pane(floating window state) outside the window of wpf application. Dragging and docking works only inside window of app - when I am trying to drag pane outside the window, pane "hides" underneath the border of app.
Is there any solution of this "problem"?

Best regards
Pit
Boyan
Telerik team
 answered on 26 Jan 2010
1 answer
134 views
hi all,
i hv a refresh button and i want to set first row or previously selected row as selected row after user refreshes the grid.
in the below code, _selectRow is of object type.  i am using customobjects in the project so _selectRow will be custom object of type "sample". however, i am unable to set selectedrow using the below code, please let me know if iam missing anything here.

regards,
Sandy



 

if (wipGridView.SelectedItem != null)

 

_selectedRow = wipGridView.SelectedItem ;

 

else

 

{

_selectedRow = wipGridView.Items[0] ;

}

 

this.Cursor = Cursors.Wait;

 

LoadWipGrid(_selectedDisplayType);

wipGridView.CurrentItem = _selectedRow;

wipGridView.SelectedItem = _selectedRow;

wipGridView.SetIsCurrent(_selectedRow,

true);

 

wipGridView.SetIsSelected(_selectedRow,

true);

 

Milan
Telerik team
 answered on 26 Jan 2010
1 answer
90 views
Hello Forum!

Is this a place to only discuss telerik products or is this also a place for people just learning WPF?
Milan
Telerik team
 answered on 26 Jan 2010
4 answers
170 views
Hello,

I attached event handler for GridViewRow Selected event by eventSetter.
But i getting "Handler type is not valid" exception.


void Row_Selected(object sender, RoutedEventArgs e){} 
<Style TargetType="telerik:GridViewRow">  
     <EventSetter Event="Selected" Handler="Row_Selected"/>  
</Style> 
What should be the right handler type for this event?

Basicly what I'm trying to do is after the data is loaded to set programaticly the second colomn of Grid to current and in edit mode.
Additionaly on arrow navigartion Up/Down current cell should be updated to the up/down cell in the same colomn and always current cell should be in edit mode.

Thank you
Milan
Telerik team
 answered on 26 Jan 2010
3 answers
176 views
Hi, i'm new on Telerik for WPF,

And i have some issue :

My grid is dynamiclly refreshed with prices, in the cells.
And i want to have my Cell's background change to green when the new price is bigger than the old one,
and change to a Red Background if my new price is lower than the old one.


So, i need to do this in the codebehind (i guess), but i'm not able to find the cell's background color properties there.

Can someone explain me how to do this ?


Thanks for your support.
Vlad
Telerik team
 answered on 26 Jan 2010
1 answer
48 views
We are getting an excessive amount of Null Reference Exceptions from the Telerik grid.   We are using the latest build that was released on Jan 14th.  We only use the grid in a read only fashion.  We use it as a work queue listing.  We refresh the data quite frequently.  We are setting the ItemsSource, we do NOT call Rebind(), we  DO reset SelectedItem and if not null we call the ScrollIntoView method.  All grid operations are in Try/Catch blocks.  Since these null exceptions are happening inside the Telerik DLL's our application is crashing

Vlad
Telerik team
 answered on 26 Jan 2010
2 answers
371 views
Hi,

We are using Telerik WPF Rad controls for developing our future WPF web application and facing some problems. For one of the problems I have pasted my error log :

====================================================================================================

PLATFORM VERSION INFO
Windows : 5.2.3790.131072 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 4.0.20506.1 (Beta1.020506-0100)

SOURCES
Deployment url : http://its-hipl-serv/wcf/version11/version11%20Web.xbap
Application url : http://its-hipl-serv/wcf/version11/Application%20Files/version11%20Web_1_0_0_13/version11%20Web.exe.manifest

IDENTITIES
Deployment Identity : version11 Web.xbap, Version=1.0.0.13, Culture=en, PublicKeyToken=c186ad621efd8b01, processorArchitecture=msil
Application Identity : version11 Web.exe, Version=1.0.0.13, Culture=en, PublicKeyToken=c186ad621efd8b01, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
* Online only application.
* Browser-hosted application.

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* An exception occurred while downloading the application. Following failure messages were detected:
+ Downloading http://its-hipl-serv/wcf/version11/Application Files/version11 Web_1_0_0_13/Telerik.Windows.Data.dll did not succeed.
+ The remote server returned an error: (404) Not Found.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
No phase information is available.

ERROR DETAILS
Following errors were detected during this operation.
* [11/24/2009 6:59:33 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://its-hipl-serv/wcf/version11/Application Files/version11 Web_1_0_0_13/Telerik.Windows.Data.dll did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (404) Not Found.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.



====================================================================================================


I already followed following link but still getting error:

Please do the needed, it is urgent..

Thank you.


Best regards,
Jignesh Patel
JigneshGN
Top achievements
Rank 2
 answered on 26 Jan 2010
1 answer
170 views
Hi there,

I am busy evaluating Telerik's WPF controls and came to a bit of a road bump I hope you can help.
I am trying to Drag and Drop from a ListBox (this will eventually be a RadPanelBar) to a re-hosted Workflow 4.0 Designer (It's a WPF control as well). 

I have got this working with the normal WPF drag and drop implementation for example.
Type type = ((AvailableActivity)(((ListBox)sender).SelectedItem)).Type; 
DataObject data = new DataObject(DragDropHelper.WorkflowItemTypeNameFormat, type.AssemblyQualifiedName); 
DragDrop.DoDragDrop(this.box1, data, DragDropEffects.Move); 

The WF Designer then queries the DataObject when its being dragged over and handles it from there.

My question is, is there anyway to provide the DataObject to the WF Designer as it expects it using the Telerik Drag and Drop? I have followed your drag and drop tutorials and got it working between list boxes, from RadPanelBar to ListBox etc. This is what I currently have.

private void OnDragQuery(object sender, DragDropQueryEventArgs e) 
if (e.Options.Status == DragStatus.DragQuery) 
AvailableActivity activity = ((AvailableActivity)((System.Windows.Controls.ListBox)(e.Options.Source)).SelectedItems[0]); // get the activity from the list 
                    
DataObject data = new DataObject(DragDropHelper.WorkflowItemTypeNameFormat, activity.Type.AssemblyQualifiedName); 
                    
e.Options.DragCue = activity.Type.AssemblyQualifiedName;  
e.Options.ArrowCue = RadDragAndDropManager.GenerateArrowCue();  
e.Options.Payload = activity.Type.AssemblyQualifiedName;    
e.QueryResult = true
e.Handled = true;  
 
Thanks
Greg
Miroslav
Telerik team
 answered on 25 Jan 2010
7 answers
87 views
What I would like to do is to force a specific RadPanelBarItem to stay expanded and, ideally, get rid of the arrow too (specifically, I want to do this for the first item and leave the rest to act normally).  I have tried handling various events and setting templates to try to intercept the collapse functionality but have been so far unable to figure it out.  I am also unable to figure out how to remove the arrow.  Any ideas?
Bobi
Telerik team
 answered on 25 Jan 2010
2 answers
149 views
Hello!

RadCarousel is a great component and it makes the application that I'm working on look so profesional even if I don't have a designer backgound or so.
There are a couple of addition things that I would need from this component, they may be already there but I don't know how to take advantage of them.
First of all - I need to always have one selected CarouselItem out there, no matter if I've clicked one or not.
If I press an additional "Load" button I should always have the possibility to retrieve the top most carousel item there
( right now carousel.SelectedItem can return null if there was no click on a specific item )
Second - Reffering the beginning or the end of carousel items sequence - I should have the possibility to stop the flow of the items  (if I continuously press the carousel's ScrollViewer buttons) I mean that the last item should be in the middle of the screen and not somewhere far in the left/right of the screen (check out the attachments) - and this last one should be the SelectedItem also
RoxanaC
Top achievements
Rank 1
 answered on 25 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?