Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
83 views

I've follwed the instructions in the CHM for installing the RadEditor lite into our MOSS 2007 farm. I'm working as a domain admin directly on the front end web server. The solution installs fine. But when I deploy it to a site the feature does not show up to activate.

Here's what solution management says after I deploy to a site.

------------------------

Name: radeditormoss.wsp
Type: Core Solution
Contains Web Application Resource: Yes
Contains Global Assembly: Yes
Contains Code Access Security Policy: No
Deployment Server Type: Front-end Web server
Deployment Status: Not Deployed
Deployed To: None
Last Operation Result: The solution was successfully deployed.
Last Operation Details: SPS-WEB01 : https://anc-foo.uaa.alaska.edu/ : The solution was successfully deployed.
Last Operation Time: 3/5/2009 2:28 PM

------------------------

I'm looking for suggestions for further troubleshooting. Dependency missing? What are some files and folders to look at CONTROLTEMPLATES, FEATURES?
michael
Top achievements
Rank 1
 answered on 26 Mar 2009
3 answers
155 views
I see in an example with the RadComboBox that someone can pick from a list of continents, then a list of countries and then a list of cities.  Each of these request uses e.Text to get the current value.  I need to be able to get not only the e.Text of the selected item but also the other combobox.  For example, a person selects an item from a list, it loads all the items where that item is found in another combobox, when they then select from the 2nd combobox I need to get the value of both the comboboxes, the one the person has just selected and the 1st one.  When I try to get the text on the first item it only shows me the item at position 0 which is a selection message.

How can I get the value from the 1st combobox and the 2nd to then load the 3rd with the value from the first 2?

Thanks
Stargazer
Top achievements
Rank 2
 answered on 26 Mar 2009
4 answers
100 views
I am using the RadEditorProvider (04.09.01) for Dotnetnuke (4.9) ...

I have the following in my web.config file in the providers section:

<add   
name="RadEditorProvider"   
type="Telerik.DNN.Providers.RadEditorProvider"   
EditModes="Design,HTML"   
ToolsFile="~/DesktopModules/TelerikWebUI/CNdefault.xml"   
DialogHandlerUrl="~/DesktopModules/TelerikWebUI/RadEditorProvider/Telerik.Web.UI.DialogHandler.aspx"   
ContentAreaCssFile="~/DesktopModules/TelerikWebUI/Custom.css"   
providerPath="~/DesktopModules/TelerikWebUI"   
AutoCreatePaths="true"   
EnableUploadUserFolders="true"   
ImagesPaths="ForumImages"   
MaxImageSize="112000"   
ImagesFilters="*.gif,*.png,*.jpg"   
/>  




The toolsfile, dialoghandlerurl, autocreatepaths, enableUploadUserFolders, and ImagesPaths are working as expected....

But MaxImageSize and ImagesFilters has no effect on the RadEditor when a user goes to upload an image file via the Image Manager... what am I missing?

Thanks!
Mike
Michael Loffland
Top achievements
Rank 1
 answered on 26 Mar 2009
2 answers
257 views
Hi,

Is there anyway that the column can displayed only during the edit mode? In the following code "Budget_Business" column is invisible intially - I would like it to display during the edit mode so that the user will know what was original value before making changes using dropdown list.

 <telerik:RadGrid ID="gridException" runat="server" Font-Names="Verdana" Font-Size="8pt" Skin="Web20" BorderWidth="0px" CellPadding="0" GridLines="None" AllowPaging="True" PageSize="50" AllowCustomPaging="True">
        <MasterTableView AutoGenerateColumns="False" EditMode="InPlace" Width="100%" DataKeyNames="BudgetExceptionID">
        <Columns>
            <telerik:GridBoundColumn DataField="Budget_Business" UniqueName="ReadOnlyBudget_Business" ReadOnly="true" Visible="false"></telerik:GridBoundColumn>
            <telerik:GridDropDownColumn DataSourceID="SrcForBusiness" ListTextField="BusinessName" ListValueField="BusinessName" DataField="Budget_Business" HeaderText="Business" UniqueName="Budget_Business" DropDownControlType="DropDownList"></telerik:GridDropDownColumn>    
        </Columns>
        </MasterTableView>
    </telerik:RadGrid>

Thanks.

Milan G
Milan Gurung
Top achievements
Rank 1
 answered on 26 Mar 2009
3 answers
1.0K+ views
I have a radgrid with checkboxes for each row and a save button below the grid to save the selections to the database. It only saves page by page, so that if a user clicks the next page and has not saved, I want to pop up a radconfirm alerting the user that he has not saved, and give him a yes/no choice to change pages. The change page function takes an agument of 'next' or 'prev' or 'first' or 'last'. If on page change click I call a function that calls radconfirm, and then the callbackfunction for radconfirm will change the page if clicked yes, the argument for page direction gets sent, but not an argument for the yes or no. How do I get the confirm arguement sent to the call back funtion?

Here is a bit of code: argument is the 'next', 'prev'..... the function cp1 is trying to test if they clicked yes, but arg is null.

  <asp:ImageButton ID="Button1"  runat="server" OnClientClick="changePage1('first'); return false;" 
                        CommandName="Page" CommandArgument="First" ImageUrl="~/Images/first.gif" />    


function changePage1(argument) { 
               radconfirm('You have not saved your choices. If you change pages you will lose your data. Are you sure you want to change?',  
               
                cp1(argument)); 
               
             // tableView1.page(argument); 
          } 
          function cp1(argument,arg) { 
          if(arg){ 
              tableView1.page(argument); 
              } 
          } 

Georgi Tunev
Telerik team
 answered on 26 Mar 2009
3 answers
131 views
I know their are bugs with the controls in IE8, but I figure we should log them anyway in case someone runs into a particular issue.  So here goes...

In IE8 if I don't sent the column width in some way, the header width sets itself to width of the header text and not to the item's width if the text is longer. So then the other headers don't line up with their proper columns.  In my case, I have every column in my grid set to a specific width except the EMAIL.  That is so if there is a long email address it can grow as needed.  Not sure if any of that makes sense, so check out what I get now in IE8:

http://img228.imageshack.us/img228/9536/radgridie8columnwidth.jpg
Adam Ooten
Top achievements
Rank 1
 answered on 26 Mar 2009
1 answer
86 views
Hi,

In my application  I have three panel controls and grid as pnlSitesSecond, tblSiteSearch, pnlSiteGrid and RADGrid1 . Intially pnlSitesSecond visible property is set to false and for other two panel it was set to true.  When I double click a row in the grid the pnlSiteSearch and the grid should disappear and then shows the pnlSitesSecond.

I want to use both Rowclick and RowDoubleclick events of the grid. If I use only the RowDoubleclick then it works fine in firefox.
But when I use both the events RowDoubleclick event gets fired  and no changes are  reflected in the page. i.e.)  tblSiteSearch and the grid will not disappearing. The same thing works in IE. when I check the  flow, the following takes place in IE and Firefox

IE:                                             FireFox:
pageLoad                                 pageLoad
Rowclick                                    Rowclick
RowDoubleclick                        RowDoubleclick
                                                Rowclick

In firefox, Rowclick is called once again after RowDoubleclick. Please help me to avoid this.
I am attaching the code below . Please verify and give a solution.

 <div> 
        <asp:ScriptManager ID="ScriptManager1" runat="server">  
        </asp:ScriptManager> 
        <telerik:RadAjaxManager ID="AjaxManager" runat="server">  
        </telerik:RadAjaxManager> 
        <telerik:RadTabStrip ID="RadTabStrip1" MultiPageID="RadMultiPage1" runat="server">  
         <Tabs> 
        <telerik:RadTab Text="General" Value="0"  runat="server">  
         
                            </telerik:RadTab> 
                              
                            </Tabs> 
        </telerik:RadTabStrip> 
          
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server">  
            <telerik:RadPageView ID="radPageViewSites" runat="server" > 
                    <table width="99%" align="center" cellpadding="0" cellspacing="0">  
                        <tr> 
                            <td> 
                                <asp:Panel ID="pnlSitesTab" runat="server" Width="100%">  
                                    <asp:Panel ID="pnlSiteFirst" runat="server" Width="100%" GroupingText="List of Sites" > 
                                        <table width="100%" cellpadding="0" cellspacing="0">  
                                            <tr> 
                                                <td> 
                                                    <asp:Panel ID="tblSiteSearch" Width="100%" runat="server">  
                                                        <table cellpadding="0" cellspacing="0">  
                                                            <tr> 
                                                                <td style="width: 220px" align="left">  
                                                                    &nbsp;<asp:Label ID="lblSiteNameSearch" Text="Site Name" runat="server"   
                                                                         /> 
                                                                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
                                                                </td> 
                                                                  
                                                            </tr> 
                                                             
                                                        </table> 
                                                    </asp:Panel> 
                                                </td> 
                                            </tr> 
                                            <tr> 
                                                <td colspan="2">  
                                                    <table width="100%">  
                                                        <tr> 
                                                            <td> 
                                                                <div> 
                                                                    <asp:Panel ID="pnlSiteGrid" runat="server" > 
                                                                    </asp:Panel> 
                                                                </div> 
                                                            </td> 
                                                        </tr> 
                                                    </table> 
                                                </td> 
                                            </tr> 
                                            <tr> 
                                                <td colspan="2">  
                                                    <asp:Panel ID="pnlSitesSecond" runat="server" Width="100%"    
                                                     Visible="false"   > 
                                                        <table width="100%">  
                                                            <tr> 
                                                                <td> 
                                                                    <asp:Panel ID="pnlSite" runat="server" GroupingText="Site General Details" Width="100%" 
                                                                         > 
                                                                        <table width="100%" border="0">  
                                                                            <tr> 
                                                                                <td align="left" width="15%">  
                                                                                    &nbsp;  
                                                                                    <asp:Label ID="lblSiteNameSite" runat="server" Text="second"   
                                                                                      /><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> 
                                                                                </td> 
                                                                                <td> 
                                                                                   <asp:Button ID="Button1" runat="server" Text="Back" onclick="Button1_Click" /></td>  
                                                                            </tr> 
                                                                             
                                                                        </table> 
                                                                    </asp:Panel> 
                                                                </td> 
                                                            </tr> 
                                                             
                                                        </table> 
                                                    </asp:Panel> 
                                                </td> 
                                            </tr> 
                                        </table> 
                                    </asp:Panel> 
                                  </asp:Panel>    
                            </td> 
                        </tr> 
                        <tr height="4px">  
                            <td> 
                            </td> 
                        </tr> 
                    </table> 
                      
                </telerik:RadPageView> 
        </telerik:RadMultiPage> 
         <asp:SqlDataSource ID="SqlDataSource1"   
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" 
            ProviderName="System.Data.SqlClient" 
            SelectCommand="SELECT * FROM Customers" runat="server"></asp:SqlDataSource> 
    </div> 


public partial class firefox : System.Web.UI.Page  
{  
    RadGrid RadGrid1;  
 
    protected void Page_Init(object sender, System.EventArgs e)  
    {  
        ArrayList d1 = new ArrayList() { "SqlDataSource1" };  
        ArrayList d2 = new ArrayList() { "CustomerID""ContactName" };  
        RadGrid1 = CreateGrid(d1, d2);  
        RadGrid1.ID = "Sites";  
        RadGrid1.ClientSettings.ClientEvents.OnRowDblClick = "RowDblClick";  
        RadGrid1.ItemCommand += new GridCommandEventHandler(RadGrid1_ItemCommand);  
        RadGrid1.ClientSettings.Selecting.AllowRowSelect = true;  
        RadGrid1.ClientSettings.EnablePostBackOnRowClick = true;  
 
        //.Controls.Add(RadGrid1);  
        pnlSiteGrid.Controls.Add(RadGrid1);  
 
    }  
 
    protected void Page_Load(object sender, EventArgs e)  
    {  
 
        AjaxManager.AjaxSettings.AddAjaxSetting(RadTabStrip1, RadMultiPage1,null);  
        RadGrid radGrid = (RadGrid)pnlSiteGrid.FindControl("Sites");  
 
 
        AjaxManager.AjaxSettings.AddAjaxSetting(radGrid, pnlSitesSecond, null);  
        AjaxManager.AjaxSettings.AddAjaxSetting(radGrid, tblSiteSearch, null);  
        AjaxManager.AjaxSettings.AddAjaxSetting(Button1, pnlSitesSecond, null);  
        AjaxManager.AjaxSettings.AddAjaxSetting(Button1, tblSiteSearch, null);  
        AjaxManager.AjaxSettings.AddAjaxSetting(Button1, radGrid, null);  
 
    }  
 
    void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)  
    {  
 
        if (e.CommandName == "RowClick")  
        {  
            //pnlSitesSecond.Visible = true;  
            //RadGrid radGrid = (RadGrid)pnlSiteGrid.FindControl("Sites");  
            //if (radGrid != null)  
            //    radGrid.Visible = false;  
            //tblSiteSearch.Visible = false;  
 
            //Response.Redirect("~/hidegrid.aspx");  
        }  
          
        if (e.CommandName == "RowDblClickServer")  
        {  
            pnlSitesSecond.Visible = true;  
            RadGrid radGrid = (RadGrid)pnlSiteGrid.FindControl("Sites");  
            if (radGrid != null)  
                radGrid.Visible = false;  
            tblSiteSearch.Visible = false;  
 
            //Response.Redirect("~/hidegrid.aspx");  
 
        }  
         
 
     }  
     
 
      
 
    public GridBoundColumn CreateColumn(string column)  
    {  
 
        GridBoundColumn boundColumn = new GridBoundColumn();  
        boundColumn.DataField = column;  
        boundColumn.HeaderText = column;  
 
        return boundColumn;  
    }  
 
 
    public RadGrid CreateGrid(ArrayList dataSource, ArrayList columns)  
    {  
        RadGrid RadGrid1 = new RadGrid();  
 
        RadGrid1.ID = "RadGrid1";  
        RadGrid1.DataSourceID = dataSource[0].ToString();  
 
        RadGrid1.MasterTableView.DataKeyNames = new string[] { columns[0].ToString() };  
 
        RadGrid1.Skin = "Outlook";  
 
        RadGrid1.Width = Unit.Percentage(100);  
        // RadGrid1.PageSize = 3;  
        RadGrid1.AllowPaging = true;  
        RadGrid1.AllowSorting = true;  
        // RadGrid1.AllowFilteringByColumn = true;  
 
        RadGrid1.PagerStyle.Mode = GridPagerMode.NumericPages;  
        RadGrid1.AutoGenerateColumns = false;  
        RadGrid1.ShowStatusBar = true;  
 
        RadGrid1.MasterTableView.PageSize = 18;  
 
        int count = columns.Capacity;  
        foreach (string col in columns)  
        {  
            RadGrid1.MasterTableView.Columns.Add(CreateColumn(col));  
 
        }  
 
        return RadGrid1;  
    }  
    protected void Button1_Click(object sender, EventArgs e)  
    {  
        pnlSitesSecond.Visible = false;  
        RadGrid radGrid = (RadGrid)pnlSiteGrid.FindControl("Sites");  
        if (radGrid != null)  
            radGrid.Visible = true;  
        tblSiteSearch.Visible = true;  
    }  
}  
 


regards
sathies

          

Daniel
Telerik team
 answered on 26 Mar 2009
5 answers
264 views

Hi,
I am using Dynamic grid created in pageinit and i tried the following code for rowdoublclik of grid which works in IE and not in Firefox.
But when I use alert() function in the javascript its works . The grid is placed on the multipage(Tabstrip).



<script language="javascript" type="text/javascript"
    function RowDblClick(sender, args) 
    { 
        sender.get_masterTableView().fireCommand("RowDblClickServer", args._itemIndexHierarchical); 
          alert();
    } 
</script>




protected void RadGrid1_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) 
    if (e.CommandName == "RowDblClickServer"
    { 
        string targetItemNumber = e.CommandArgument; 
    } 


please help me ...

regards,
sathies
Daniel
Telerik team
 answered on 26 Mar 2009
1 answer
107 views
I just posted a message in the VS extensions forum (using Firefox 3.1 b3).
Seems that the editor (or firefox) totally messes up the post:

http://www.telerik.com/community/forums/aspnet-ajax/vs-extensions/install-error-a-program-required-for-this-install-could-not-be-run.aspx

Is this a bug in RadEditor or FireFox?
Rumen
Telerik team
 answered on 26 Mar 2009
1 answer
111 views
Hi,
 I am using radEditor control in a web application in which i want to implement the context menu, where the labels of the context menu should be as per my specification.

How can I use labels as per my specification?
Thanks
Vikram

Rumen
Telerik team
 answered on 26 Mar 2009
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?