Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
423 views
Hello,

I am using the server-side method for using a Filter Template with a RadComboBox on a RadGrid.  I have it working using this method but how do I set the SelectedValue of the RadComboBox using this method?  The client-side method has some Eval code in the control on the page but that doesn't work for the server-side method.  I assumed I would set the SelectedValue property of the RadComboBox in the codebehind during the RadComboBox_SelectedIndexChanged method but I can't seem to make it work.  Maybe because I don't know how to access the RadComboBox control properly?

thanks,

Steve
Naga
Top achievements
Rank 1
 answered on 23 Jul 2013
1 answer
86 views
hi,

i have a parent window with a form that has a button that open new radwindow once clicked. 
below is the code:

 protected void RadButton1_Click(object sender, EventArgs e)
    {
 RadWindow window1 = new RadWindow();
        window1.NavigateUrl = "newindow.aspx?lblqty=" + txtlblqty.Text;
        window1.VisibleOnPageLoad = true;
        window1.DestroyOnClose = true;
        window1.Height = 250;
        window1.Width = 350;
        window1.Top = 100;
        window1.Left = 100;
       
        RadWindowManager1.Windows.Add(window1);   
    }

the new window will show total number of label based on txtlblqty.text in original form. when the radwindow is opened, I right clicked and click print, the parent window also included in the printing. 

what can I do to prevent printing of the background of parent window and only print the content of this new window?

thanks for any input!
Richard
Top achievements
Rank 1
 answered on 23 Jul 2013
1 answer
92 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
98 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
344 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
96 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
377 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
88 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
109 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
272 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?