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

Hello,

I have a radgrid with a form template editor. This editform hosts a lot of controls and I use popup Radwindows to reconfigure data that feed the controls. When the radwindow is closed, I need a mechanism to refresh those individual controls. I do not want to return javascript values from the  Radwindows but I rather would like to refresh  datasource or even better to execute my back-end code. I for sure can’t rebind the grid’s masterTableView  as I will loose the changes were made on other elements of template.

Thank you for your recommendation.

Marin Bratanov
Telerik team
 answered on 23 Jul 2013
1 answer
102 views
Hi

I have a scenario where I need to access slider and value but the user should not be able to change the selection. Is this possible?

Thanks
Ivy
Slav
Telerik team
 answered on 23 Jul 2013
20 answers
363 views

Hi,

 

I run a Sharepoint Foundation 2010 (14.0.4763.1000 – Search Server Express Installation) on a Windows 2008R2 Server with SP1. There was an older Version of the Radcontrols for Sharepoint on the machine but this was uninstalled months ago. The Installation (and reinstallation after the first failure) of the RadControls für Sharepoint Q2 2011 (712) worked fine. I can add the webpart to a webpartpage and use the designer to build a grid. But when I try to show the page I get an error message “Datei nicht gefunden” – File not found.

 

The accompanying correlation ID leads to 3 pages of logs. The only hint to a missing file is the following:

 

0x1E24  SharePoint Foundation                Monitoring                        b4ly       High       Leaving Monitored Scope (Webparts hinzufügen). Ausführungszeit=137,648779383972          58dd0712-2b51-42c5-9157-7388a5e81c2a

07/28/2011 09:28:37.03                w3wp.exe (0x1364)                                       0x1E24  SharePoint Foundation                Runtime                                       tkau       Unexpected      System.IO.FileNotFoundException: Die Datei oder Assembly "Microsoft.SharePoint.Taxonomy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" oder eine Abhängigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.    bei Telerik.Ajax.SharePoint.SPFieldToFieldDataMapper.MapSPFieldToSPFieldData(SPField field)     bei Telerik.Ajax.SharePoint.SPListTableViewBuilderBase.InitializeFields(SPViewSchemaParser viewParser, SPView currentView, SPList currentList, List`1 fields)     bei Telerik.Ajax.SharePoint.GridSPListTableViewBuilder.BuildGridColumns(SPView view, SPList list, GridTableView gridTableView, List`1 fields)     bei Telerik.Ajax.SharePoint.GridSPListTableViewBuilder.BuildGridStructureInternal(SPListBindingStructure tableView, GridTableView grid...    58dd0712-2b51-42c5-9157-7388a5e81c2a

07/28/2011 09:28:37.03*              w3wp.exe (0x1364)                                       0x1E24  SharePoint Foundation                Runtime                                       tkau       Unexpected      ...TableView)     bei Telerik.Ajax.SharePoint.GridSPListTableViewBuilder.BuildDataStructure()

As my system is only a Foundation there is no microsoft.Sharepoint.taxonomy.dll present on the system (and no referenc to it in the web.config).  I checked some older logs but Taxonomy is mentioned nowhere.

Best regards,

Dirk
 
Tsvetoslav
Telerik team
 answered on 23 Jul 2013
1 answer
97 views
Hi, can you explain this behavior?
At first loading the editor has a bad rendering. Once you reload the page, the toolbar looks fine , problem seems fixed. (see attached image).
Here is the code of my editor:

<telerik:RadEditor
Width="1000px"
Height="750px"
 ID="RadEditor1" Skin="Silk"
Runat="server"
ToolsFile="/ToolsFile.xml"
SkinID="DefaultSetOfTools">
</telerik:RadEditor>


Thanks!
rdmptn
Top achievements
Rank 1
 answered on 23 Jul 2013
7 answers
390 views
I know that I can change the captions for the RadConfirm buttons by changing the localization:

Telerik.Web.UI.RadWindowUtils.Localization =  
    "Close" : "Close"
    "Minimize" : "Minimize"
    "Maximize" : "Maximize"
    "Reload" : "Reload"
    "PinOn" : "Pin on"
    "PinOff" : "Pin off"
    "Restore" : "Restore"
    "OK" : "OK"
    "Cancel" : "Cancel"
    "Yes" : "Yes"
    "No" : "No"   
}; 

The question then is: if in the same page a have both a RadConfim and a RadAlert,, is it possible to have different captions for the OK buttons? For example, the "OK" for RadConfirm would be "Click Here," and the "OK" for RadAlert would be "Ouch!".

Is it possible to manipulate the localization in the code behind so that the button captions are set dynamically?

Thanks,

Ivan
rdmptn
Top achievements
Rank 1
 answered on 23 Jul 2013
2 answers
96 views
Hi

I have a radFileExplorer control which displays documents within a sharepoint document library.
Users have been complaining that when they open MS PowerPoint (.pptx) files through the radFileExplorer an empty popup window also opens.
Is this known behaviour and is there anything I can do to stop it?

Thanks
Rach
Top achievements
Rank 1
 answered on 23 Jul 2013
3 answers
110 views
I'm using a Radgrid with a NestedViewTemplate that has a user control inside of it. This user control has a button that opens up a radwindow to view more details. What I'd like to do is add a record to the database that somebody clicked on the button to view the radwindow. so it would require calling a custom Method in the codebehind for this puspose. Any direction would be great
Angel Petrov
Telerik team
 answered on 23 Jul 2013
11 answers
278 views
Hi,

I'm trying to integrate ImageManager in SharePoint using custom content provider (i need to use ImageManager outside RadEditor).
The problem is that whatever i do "Image Editor" button is always disabled.
All handlers are specified correctly. The code is below:
DialogOpener1.HandlerUrl = "~/_wpresources/RadEditorSharePoint/6.7.0.0__1f131a624888eeed/Resources/Telerik.Web.UI.DialogHandler.aspx";
  
            var imageManagerParameters = new ImageManagerDialogParameters();
  
            imageManagerParameters.ViewPaths = new string[] { "http://server" };
  
            imageManagerParameters.ImageEditorHttpHandlerUrl = "~/_wpresources/RadEditorSharePoint/6.7.0.0__1f131a624888eeed/Resources/Telerik.Web.UI.DialogHandler.aspx";
  
            imageManagerParameters.MaxUploadFileSize = 5000000;
  
            imageManagerParameters.FileBrowserContentProviderTypeName = "TestRad.SharePointContentProvider, TestSharePointRAD, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8cee718d2e73da72";
  
            imageManagerParameters.EnableImageEditor = true;
  
  
  
            DialogDefinition imageManager = new DialogDefinition(typeof(ImageManagerDialog), imageManagerParameters);
  
            imageManager.ClientCallbackFunction = "ImageManagerFunction";
  
            imageManager.Width = Unit.Pixel(694);
  
            imageManager.Height = Unit.Pixel(440);
  
            DialogOpener1.DialogDefinitions.Add("ImageManager", imageManager);
  
  
  
            FileManagerDialogParameters imageEditorParameters = new FileManagerDialogParameters();
  
  
  
            imageEditorParameters.ViewPaths = new string[] { "http://server" };
  
            imageEditorParameters.MaxUploadFileSize = 5000000;
  
            imageEditorParameters.FileBrowserContentProviderTypeName = "TestRad.SharePointContentProvider, TestSharePointRAD, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8cee718d2e73da72";
  
  
  
            DialogDefinition imageEditor = new DialogDefinition(typeof(ImageEditorDialog), imageEditorParameters);
  
            imageEditor.Width = Unit.Pixel(832);
  
            imageEditor.Height = Unit.Pixel(520);
  
            DialogOpener1.DialogDefinitions.Add("ImageEditor", imageEditor);


How can i solve this?
Yevgeniy
Top achievements
Rank 1
 answered on 23 Jul 2013
2 answers
108 views
After upgrading to the 2013 Q2 controls we have been getting a large number of "This is an invalid webresource request" errors (every page access I believe) in our error reporting application.  I'm not seeing anything obviously wrong with the calendar such as missing images.

Query string:
d=oYk45SpGYUqPQWaQ_K6qeQjLI6LVoPZPDXmb2YP7w81z0o1tWAbsclqXQQzbi7yQw0YmPSHt5Mnxo3xiI8po-VlJREoNvUw_dNRIMwB1PRbPLJIwdRv3K90xKVkNfTv2lJn9SloLZWkbMqEP1Jbw3NTL5OE1&t=635096945953391250

Decoded:
pTelerik.Web.UI.Skins|Telerik.Web.UI.Skins._Telerik.Calendar.sprite.gif

Here is the network request.  It is redirecting to our "not found" page.
URL Method Result Type Received Taken Initiator Wait‎‎ Start‎‎ Request‎‎ Response‎‎ Cache read‎‎ Gap‎‎
/Efficio/WebResource.axd?d=oYk45SpGYUqPQWaQ_K6qeQjLI6LVoPZPDXmb2YP7w81z0o1tWAbsclqXQQzbi7yQw0YmPSHt5Mnxo3xiI8po-VlJREoNvUw_dNRIMwB1PRbPLJIwdRv3K90xKVkNfTv2lJn9SloLZWkbMqEP1Jbw3NTL5OE1&t=635096945953391250 GET 302 text/html 339 B 406 ms background-image 2246 0 406 0 0 1780

Scheduler markup:
<telerik:RadScheduler AllowInsert="false" CustomAttributeNames="OpportunityActivityID" DataEndField="Endtime" DataKeyField="ActivityId" DataStartField="StartTime" DataSubjectField="Description" DayStartTime="08:00:00" DayEndTime="18:00:00" GroupBy="User" GroupingDirection="Horizontal" ID="radScheduler" Localization-ConfirmDeleteText="Are you sure you want to permanently Delete this Activity?" Localization-ConfirmDeleteTitle="Confirm Activity Deletion" MinutesPerRow="15" NumberOfHoveredRows="1" MonthView-AdaptiveRowHeight="true" OnAppointmentCreated="RadScheduler1_AppointmentCreated" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound" OnClientAppointmentDeleting="onAppointmentDeleting" OnClientAppointmentDoubleClick="onClientAppointmentDoubleClick" OnClientAppointmentEditing="OnClientAppointmentEditing" OnClientAppointmentInserting="OnClientAppointmentInserting" OnClientAppointmentMoveEnd="OnClientAppointmentMoveEnd" OnClientAppointmentResizeEnd="OnClientAppointmentResizeEnd" OnClientTimeSlotClick="OnClientTimeSlotClick" OnDataBound="RadScheduler1_DataBound" OnNavigationComplete="RadScheduler1_NavigationComplete" OnPreRender="radScheduler_PreRender" OverflowBehavior="Expand" RowHeight="25" runat="server" ShowAllDayRow="false" ShowFullTime="false" ShowNavigationPane="true" ShowResourceHeaders="true" Skin="Telerik" UseRowHeadersAsSelectors="true" Width="915px" WorkDayEndTime="18:00:00" WorkDayStartTime="08:00:00">
</telerik:RadScheduler>
Plamen
Telerik team
 answered on 23 Jul 2013
1 answer
119 views
Hey, I am attempting to evaluate a Condition for each Cell of each Row. I am aware of OnItemDataBound and plan to use this, however I need the conditions to be more generic.

The setup I am looking to achieve is:
A Conditions Data Base Table with the Columns:
  • [TableName]
  • [ColumnName]
  • [Condition]
  • [StyleID]

When I query the Data Base for any Data I want to also gather all conditions for each column of that table.
When a row is data bound to the grid I want to evaluate the condition for each cell. If the condition passes I apply the associated style to that cell based on StyleID (Which would be another data base table with BackColor, ForColor, Bold, ect..).

I would like to be able to pass any data to the Grid and have it run all conditions and apply styles without ever hard coding column names or conditions in the application.

I am attempting to achieve this because the conditions and styling will be user created by another application.

Thanks,

Taylor Devereaux
Eyup
Telerik team
 answered on 23 Jul 2013
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?