Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Hi everyone, we're using RadEditor 5.4 and we've made customizations to ConfigFile.xml in the /_wpresources/RadEditorSharePoint/5.4.0.0__1f131a624888eeed/Resources/ folder. It's time to go to production now, but the client does not want to have to manually edit this XML file on each server in the farm. Because _wpresources is outside the 12 hive, I'm not sure how to update the file using our WSPs.

What is the best way to automate the process of pushing our updates to ConfigFile.xml across the farm, given the fact that the file is outside the 12 hive?

Thanks!

Gus Collazo
Stanimir
Telerik team
 answered on 07 Sep 2009
3 answers
108 views
hi,

i have a regular bar type chart, for example - yAxis the grades and xAxis the Subjects.
each grade appear in label above the according bar.
i have two chartSeries each with a different color - by the skin.

is there any way to make the colors of the labels to be according the bars color?.
is it possible to do it from the skin file?.

any idea?
Velin
Telerik team
 answered on 07 Sep 2009
5 answers
392 views
I'm using RadEditor on a MOSS page with the following code:
<radE:RadHtmlField ID="PageContent" FieldName="PublishingPageContent" runat="server"/>
The control is used for the main content of a page, i.e. is not being used within a list.

When I enter javascript into the body of the editor, for example <a href="#" onclick="alert('hello');">hello</a>, the javascript code is stripped out.

I have seen recommendations to enable various properties within the config file, but it's not clear how to specify a config file when the RadHtmlField method is used.

Can you explain how to keep javascript from being removed?
Stanimir
Telerik team
 answered on 07 Sep 2009
2 answers
176 views
I believe that RadUpload now supports IIS 7 integrated pipeline mode.

I am pretty sure we have the latest version of the Control suite, but when I change the application app pool to run in integrated pipeline mode, I get the following:

Could not load type 'Telerik.Web.UI.Upload.RadUploadHttpModule' from assembly 'Telerik.Web.UI'

This module is referenced in web.config under the httpModules section

<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>

Any feedback appreciated
Tom Williams
Top achievements
Rank 1
 answered on 07 Sep 2009
5 answers
277 views
Hello,
I am working on the evaluation copy of the Radgrid

I have a created a radgrid with editing capabilities. Once the user updates the item I am unable to get the edited values.

My code is listed below

ASPX Code

 

 

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" GridLines="None"

 

 

 

 

 

OnItemDataBound="RadGrid1_ItemDataBound" OnNeedDataSource="RadGrid1_NeedDataSource"

 

 

 

 

 

AllowSorting="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True"

 

 

 

 

 

AutoGenerateEditColumn="true" OnItemUpdated="RadGrid1_ItemUpdated" OnUpdateCommand="RadGrid1_UpdateCommand">

 

 

 

 

 

<MasterTableView DataKeyNames="username" Width="100%" EditMode="InPlace">

 

 

 

 

 

<RowIndicatorColumn>

 

 

 

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

 

 

 

</RowIndicatorColumn>

 

 

 

 

 

<ExpandCollapseColumn>

 

 

 

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

 

 

 

</ExpandCollapseColumn>

 

 

 

 

 

<Columns>

 

 

 

 

 

<telerik:GridBoundColumn DataField="username" HeaderText="User Name" UniqueName="username" ReadOnly=true>

 

 

 

 

 

</telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridBoundColumn DataField="password" HeaderText="Password" UniqueName="password">

 

 

 

 

 

</telerik:GridBoundColumn>

 

 

 

 

 

<telerik:GridTemplateColumn HeaderText="Password" UniqueName="TemplateColumn">

 

 

 

 

 

<ItemTemplate>

 

 

 

 

 

<asp:DropDownList ID="DropDownList1" runat="server">

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

</ItemTemplate>

 

 

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

</Columns>

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

</telerik:RadGrid>

 

 

 

C# Code

protected

 

void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e)

 

{

 

//Get the GridEditableItem of the RadGrid

 

 

 

 

 

GridEditableItem editedItem = e.Item as GridEditableItem;

 

 

//Get the primary key value using the DataKeyValue.

 

 

 

 

 

string sUserName = editedItem.OwnerTableView.DataKeyValues[editedItem.ItemIndex]["username"].ToString();

 

 

//Access the textbox from the edit form template and store the values in string variables.

 

 

 

 

 

string sPassword = (editedItem["password"].Controls[0] as TextBox).Text;

 

}

 

Any help is much appreciated.

Regards,
Kaushik 

Pavlina
Telerik team
 answered on 07 Sep 2009
1 answer
102 views
I currently have on my page a RadSplitter control.  On the left side of the splitter, I have a RadTreeView, and on the right side I have a RadGrid.  I've added the RadAjaxManager to update the RadGrid when a folder is clicked on in the RadTreeView.  The problem I'm getting is that I keep getting a Javascript popup error everyonce in a while when I go to click on a folder in the tree view to load up information into the RadGrid.  The RadGrid appears to be loading, but then stops once this error pops up.  Now if I go and click on another folder after I get this Javascript popup error, everything works fine.

Like I said, I only get this error every once in a while.  I've looked at the other posts in this forum and tried all different things.  None of them really solved my issue.

Here is what I'm getting in the Javascript error popup.

Sys.WebForms.PageRequestManagerPraserErrorException: The message received from the server could not be parsed.  Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near 'play:none;"></span>|<html>
     <head>
'.

Kai Thao
Pavlina
Telerik team
 answered on 07 Sep 2009
1 answer
303 views
Hello,

I'm wondering if there is a way to add decimal places in the values that are displayed with the RadChart.

Instead of having 0%  I would for example like to display 0.48% 

Thanks,

Ves
Telerik team
 answered on 07 Sep 2009
3 answers
213 views
Hi Support Team,

As I know, the Radslider have the function of zoom image (RadSlider for ASP.NET AJAX -> Functionality -> First Look).
May I know got any function for zoom and crop image using RadSlider?

Thanks.
Suresh K
Top achievements
Rank 1
 answered on 07 Sep 2009
1 answer
85 views
I am using rad rotator, and it is set to "RotatorType = RotatorType.SlideShow" for this it stops animation when mouse is overs the rotator item, is there a an option to avoid stopping the item and allow continuous sliding.

Thanks,
Shivashankar



Georgi Tunev
Telerik team
 answered on 07 Sep 2009
1 answer
200 views
Hi there,

I have a question about radGrid clien-side databinding, using WebServices.
In my RadGrid, I'm grouping datas function of a column. When I update dynamically(client-side) my datagrid, grouping doesn't seem to work well:
independently of the number of elements which belong to the group, this one have always have the same number of items.
Here, I'm grouping fonction of MembreConvers wich is a string.
        <MasterTableView ClientDataKeyNames="IdContact" GroupLoadMode="Client"   
                        NoMasterRecordsText="" ShowHeadersWhenNoRecords="true" Width="100%">  
                        <GroupByExpressions> 
                            <telerik:GridGroupByExpression> 
                                <SelectFields> 
                                    <telerik:GridGroupByField FieldAlias="MembreConvers" FieldName="MembreConvers"   
                                        HeaderText="Participe" /> 
                                </SelectFields> 
                                <GroupByFields> 
                                    <telerik:GridGroupByField FieldName="MembreConvers" /> 
                                </GroupByFields> 
                            </telerik:GridGroupByExpression> 
                        </GroupByExpressions> 
            <Columns> 
                <telerik:GridMaskedColumn DataField="MembreConvers"   
                                SortExpression="MembreConvers">  
                            </telerik:GridMaskedColumn> 
<!-- Continue --> 

And I'm updating it with that javascript, client-side. I need to pass args to my WebMethod, so I'm not using Telerik's codeLess method.
//Called When WebService GetContactListForConversation return              
function SucceededCallbackGetParticipants(result, eventArgs) {  
 
                //Conversation ID - and so window - is in eventArgs.  
                //It allows us to get current conversation's radWindow  
                  
                var radWindowManager = GetRadWindowManager();  
                var window_ = radWindowManager.getWindowById(eventArgs);  
 
                if (window_ != null) {  
                      
                      //Get the frame  
 
                    var frame = window_.get_contentFrame();  
 
                      //Get the window  
                    var windowContent_ = frame.contentWindow;  
 
                    var radGrid = windowContent_.$find("RadGridContacts");  
 
                    //Get Master TableView  
                    var tableView = radGrid.get_masterTableView();  
 
                       //Set dataSource and DataBind  
                    tableView.set_dataSource(result);  
                    tableView.dataBind();  
 
                    //Using setTimeout instead of setInterval(firefox compatible)  
                    setTimeout(function() { GetParticipantsForConversation(eventArgs) }, timeout);  
                } 

WebService returns List<Contact>:
    public class Contact  
    {  
        public string NomPrenom { getset; }  
        public int IdContact { getset; }  
        public string EnLigne { getset; }  
 
        public string MembreConvers { getset; }  
     // Continue here ....  
On page load, server-side, in "RadGridContacts_NeedDataSource" method I create MasterTableView like that:
//Test                    
  List<Contact> contactsList = new List<Contact>();  
               //there will be 2 groups : "Oui" and "Non".  
              contactsList.Add(new Contact("", 0, true"Oui"));  
              contactsList.Add(new Contact("", 0, true"Non"));   RadGridContacts.MasterTableView.DataSource = contactsList;  
 
/*And when I'm updating Client-side, group "Oui" and "Non" are limited to 1 item each. How can I fill them client-side?*/ 
Is there an easy trick to update these groups client-side?

Thanks a lot,

Alex.
Alexandre Fromage
Top achievements
Rank 1
 answered on 07 Sep 2009
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?