Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
74 views
Telerik Admin,

Good Day. I know that this thread is very old however the issue I encountered is somewhat very much related to what was raised by some of the users specially with Midhun Kumar Allu in: http://www.telerik.com/community/forums/sharepoint-2007/full-featured-editor/radeditor-for-wcm-sharepoint-specialtags-and-scripts.aspx

Given Scenario:
1. We have MOSS web page(s) that contains <embed > tags.
Like if I view that page and view source of that I can see the following tags:

<embed height="240" width="320" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" src="http://video.abc.com/com/abcplayer/bin-debug/main.swf?i just omit other characters...." type="application/x-shockwave-flash"></embed>


2. And in a separate app. when we extract the content of this web page through moss webservice. everything is fine except for the <embed> tags. I am not sure but all info in <embed> tags will become something like this:
<pre id="RadEditorEncodedTag">PGVtYmVkIGhlaWdodD0iMjQwIiB...............................

Note: We are using the updated version of MOSS.

Question/Problem:
* Like I said my question is somewhat related to Midhun Kumar Allu except that mine is via Moss Content Extract. Can you please help me what configuration that I need to consider? What am I forgetting to include? How do we decode (or decrypt if applicable) that?

Really appreciate any quick feedback...
Regardz, -jepoy
Jepoy
Top achievements
Rank 1
 answered on 05 Apr 2011
1 answer
180 views
I have two button in RadComboBox in RadToolBarButton ItemTemplate:
<telerik:RadToolBarButton Font-Size="X-Small" CausesValidation="false" Value="column">
                         <ItemTemplate>
                         <table>
                         <tr>
                           <td align="right" valign="top">
                 <telerik:RadComboBox ID="RadComboBoxAddColumns" Height="20px" runat="server" EmptyMessage="Add Columns" HighlightTemplatedItems="True" AllowCustomText="True" Width="150px" 
                                Skin="Windows7"
                            <ItemTemplate>
                                <div>
                                    <asp:CheckBox runat="server" ID="chk1" Checked="false" Font-Size="X-Small"/><%# Eval("COLUMN_NAME") %>
                                </div>      
                            </ItemTemplate>
                            <FooterTemplate>
                            <div
                                <asp:Button ID="btnAdd" runat="server" Text="Add" CssClass="button" OnClick="btnAdd_Click"/>   <asp:Button ID="btnReset" runat="server" Text="Reset" CssClass="button" 
                                            OnClick="btnReset_Click"/>
                            </div>
                            </FooterTemplate>
                  </telerik:RadComboBox>  
            </td>
            </tr></table>
                         </ItemTemplate>
                        </telerik:RadToolBarButton>
And I need to map the code behind click event for each button, I can get reference of the button:
Button btnAdd = (Button)RadToolBar1.FindItemByValue("column").FindControl("RadComboBoxAddColumns").FindControl("btnAdd");
But how do I know which button is clicked? Please help!

Thanks a lot!
Shannnon
Top achievements
Rank 1
 answered on 05 Apr 2011
8 answers
150 views
Hello,

In IE7, the RadComboBox has a small display bug when the Enabled property is set to false. When hovered, the combobox seems to grow vertically by a couple pixels and an extra portion of the sprite appears at the bottom. This happens with every skin. I have attached an image to clarify.

Thanks,
Josh
Todd Hile-Hoffer
Top achievements
Rank 2
 answered on 05 Apr 2011
3 answers
261 views
When I select a node in a TreeView, I'd like the ability to unselect it without selecting a different node by clicking the node (to toggle it selected or unselected)

<telerik:RadTreeView ID="blocks"  ShowLineImages="false" runat="server" OnClientNodeClicked="BlockClicked" MultipleSelect="true">
    <NodeTemplate >
......
    </NodeTemplate>
</telerik:RadTreeView>

This JavaScript doesn't seem to do what I thought...

function BlockClicked() {
        var tree = $find("<%= blocks.ClientID %>");
        var node = tree.get_selectedNode();
        if (node.IsSelected == false) {
            alert('Selected');
            node.unselect();
        }
        else {
            alert('Not Selected');
            node.select();
        }
    }
Neil
Top achievements
Rank 1
 answered on 04 Apr 2011
1 answer
140 views
This may sound a little lazy on my part, but I'm looking for existing documentation of some sort that can be modified/updated/etc. regarding the use of the RadEditor by OUR END USERS.  This would include maintaining the dictionary, inserting graphics, etc., but would not include how to technically configure the Editor control to accomplish these tasks which is a completely different topic.

I realize that this is our responsibility to provide to our clients/end users/etc., but a starting document of some kind would surely shorten the development time.

Does anyone know of any document/document pieces/etc. that is available as a starting point?

Thanks in advance!

Lynn
Lynn
Top achievements
Rank 2
 answered on 04 Apr 2011
1 answer
78 views
Hi-

I have all my grid items in editmode, and I'd like to know how to apply changes to an InsertedItem when someone clicks on "OK" somewhere else in the page.  Right now I'm doing a loop over these to get the rest of the items:

foreach (GridDataItem item in radGrid.Items)
{
   // do something with the items
}

But when I am inserting a new item I'm not getting access to it.   Should I manually invoke "Update" from code-behind as part of the page submit event (and how can I do that?), or should I try to somehow read the new values in the controls for the InsertItem without invoking an "update"?

Thanks,

-Mike
Mike Bridge
Top achievements
Rank 1
 answered on 04 Apr 2011
2 answers
121 views
Hi All,

I am using RadControls for ASP.NET Q3 2010. I am converting a web application to use the radtoolbar with the Office2007 theme. The current web application has several buttons in a table row. I have changed those buttons to RadToolBarButtons and wrapped in the RadToolBar. Everything is working except the display of the disabled buttons. When the buttons are disabled, the button image has artifacts around it; the button does not look like the original image. I really just want to use the same image and override the opacity. Even if I override the opactiy and set it to 100, the image does not look like the original; I would expect that if the opacity had been set to 100 the image would be identical to the enabled version. I am using IE 8. I have attached an image to further describe this issue.

Thanks,
Cliff
Cliff Akers
Top achievements
Rank 1
 answered on 04 Apr 2011
3 answers
107 views
I am adding a table of detail in each row that appears, add it to programming. The problem is, when you expand the line, you see all the tables in detail all items.
'What may be missing?

this is my code for add a table of detail in each row:

DataTable datTabDatosDetalle = new DataTable();
                    if (ViewState["OrdCompraProdDetallesSub" + IdOrdenCompra + Skucode] == null)
                    {
                        datTabDatosDetalle = CCSMovimientoProductos.BuscarProdDetOrdenCompra_CEDIS(IdOrdenCompra, Skucode).Tables[0];
                        ViewState.Add("OrdCompraProdDetallesSub" + IdOrdenCompra + Skucode, datTabDatosDetalle);
                    }
                    else
                        datTabDatosDetalle = (DataTable)ViewState["OrdCompraProdDetallesSub" + IdOrdenCompra + Skucode];
  
                    Telerik.Web.UI.GridTableView detailTable = new Telerik.Web.UI.GridTableView(radGriOrdComDetalles);
                    radGriOrdComDetalles.MasterTableView.DetailTables.Add(detailTable);
  
                    detailTable.Name = "tabDetail" + IdOrdenCompra + Skucode;
                    detailTable.DataKeyNames = new string[] { "Id", "prodSkucode" };
                    detailTable.EnableViewState = true;
                    detailTable.NoDetailRecordsText = "Sin registros.";
                    detailTable.Caption = "Detalle del producto Sku " + Skucode;
                    detailTable.EditMode = Telerik.Web.UI.GridEditMode.InPlace;
  
                    foreach (DataColumn dc in datTabDatosDetalle.Columns)
                    {
                        Telerik.Web.UI.GridBoundColumn campo = new Telerik.Web.UI.GridBoundColumn();
                        detailTable.Columns.Add(campo);
                        campo.UniqueName = "col" + dc.ColumnName;
                        campo.HeaderText = "[ " + dc.ColumnName + " ]";
                        campo.HeaderStyle.Font.Bold = true;
                        campo.HeaderStyle.HorizontalAlign = HorizontalAlign.Center;
                        campo.DataField = dc.ColumnName;
  
                        if (dc.ColumnName == "Id")
                            campo.Visible = false;
                        if (dc.ColumnName == "prodSkucode")
                            campo.Visible = false;
                        if (dc.ColumnName == "Talla")
                            campo.ReadOnly = true;
                    }
  
                    Telerik.Web.UI.GridEditCommandColumn campoEdit = new Telerik.Web.UI.GridEditCommandColumn();
                    campoEdit.UniqueName = "colEdit";
                    campoEdit.ButtonType = Telerik.Web.UI.GridButtonColumnType.ImageButton;
                    campoEdit.EditText = "Editar";
                    campoEdit.UpdateText = "Actualizar";
                    campoEdit.CancelText = "Cancelar";
                    detailTable.Columns.Add(campoEdit);
                    detailTable.DataSource = datTabDatosDetalle;
  
                    detailTable.Rebind();
                    radGriOrdComDetalles.Rebind();

Carlos Rodriguez
Top achievements
Rank 1
 answered on 04 Apr 2011
0 answers
87 views

I have a Telerik Tab strip control on a master page as follows.

<telerik:RadTabStrip ID="rtsOrders" runat="server" 

            Width="350px"

             Skin="Outlook"

            Align="Justify" >

            <Tabs>

                <telerik:RadTab Text="Manage Groups" Width="100" Visible="false" NavigateUrl="~/Group/GroupMembers.aspx" />

                <telerik:RadTab Text="Manage Orders" Width="100" Visible="false" NavigateUrl="~/Manager/ManageOrders.aspx" />

                <telerik:RadTab Text="My Orders" Width="100" NavigateUrl="~/Order/MyOrders.aspx" />

            </Tabs>

       </telerik:RadTabStrip>

 

All above tab navigation URLs are  content pages. When I click on the tab, I do see flicker and complete page loading even though I did not set Autopostback to true for Radtabstrip.

 

I put a breakpoint on page load of master page. It does come there on every tab click and when I check for  ?page.Request.Params.Get("__EVENTTARGET") It comes as nothing.

 

I really don’t know why page behaves like this?

 

Thanks!

A K
Top achievements
Rank 1
 asked on 04 Apr 2011
2 answers
103 views
Hi all,
i'm using a RadGrid and i'm managing the operations of insert / update / delete operations by automatically provided by the grid.
When you are in edit / insert i need that buttons of confirmation / cancellation are positioned not only in bottom position but also at top of the form.

Here my code:

<EditFormSettings ColumnNumber="3" CaptionDataField="codice_Astuccio"
    CaptionFormatString="Modifica le caratteristiche del codice astuccio: {0}"
    InsertCaption="Nuovo astuccio">                                                        
   <FormTableItemStyle Wrap="False"></FormTableItemStyle>
    <FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
    <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White"
        Width="1024px" />
    <FormTableStyle CellSpacing="0" CellPadding="2" Width="330px" Height="110px" BackColor="White" />
    <FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>
    <EditColumn ButtonType="ImageButton" InsertText="Inserisci astuccio" UpdateText="Modifica astuccio"
        UniqueName="EditCommandColumn1" CancelText="Cancella le modifiche">
    </EditColumn>
    <FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>
</EditFormSettings>

Thank in advance at all,

DrGiorgini
Top achievements
Rank 1
 answered on 04 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?