Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
Hi there

I have a radgrid whose columns are autogenerated at runtime. Some standard columns will always be returned in the resultset, and I wish to hide those from the initial load, but give the user the option to view them clicking the columnname in the header context menu. Is this possible?

Thanks
Steven Webster
Top achievements
Rank 1
 answered on 30 Jan 2012
0 answers
175 views
In my scenario I want to convert RTF to PDF.
I have RTF template in which I replace some symbols and then I want to save result as PDF.
User will have a button or link which he click and then he gets save dialog. The result will be saved as PDF on his computer.

So my question is how can I achieve this using Telerik developer tools (maybe there is class which convert RTF to PDF?).

Thanks for any help

Patryk
Top achievements
Rank 1
 asked on 30 Jan 2012
11 answers
367 views
I've placed a RadTreeView in a RadComboBox as described in the tutorials. In order to use the ComboBox multiple times on a page, I've placed the controls in a Asp.Net UserControl, and implements the usercontrol in a RadTabStrip. It works perfectly with just one usercontrol, and there is no full postback when the users selects nodes from the tree.

But when I add more than one usercontrol in the tabstrip, a full postback occurs when I select a node from the new tree. There is a full postback every second time. So after a full postback, it works as intended the next time a node is clicked. After that, a full postback occurs again. The first usercontrols works as intended.

I suspect that there's some kind of naming conflict since all trees inside the comboboxes <ItemTemplate> recieves the same ID's, rtvCompanyUserOrganization. Is there any known workaround for this?

Partial code from the usercontrol:

<telerik:RadComboBox ID="rcbCompanyOrganization"  runat="server" Height="140px" Width="215px" OnClientDropDownOpened="OnClientDropDownOpenedUserHandler"
        <Items> 
            <telerik:RadComboBoxItem runat="server" /> 
        </Items> 
        <ItemTemplate> 
            <div ID="div1" onclick="StopPropagation(false);"
                <telerik:RadTreeView ID="rtvCompanyUserOrganization" runat="server" Height="136px" Width="213px" 
                    OnClientNodeClicking="nodeUserClicking" OnNodeClick="NodeClick" > 
                    <DataBindings> 
                        <telerik:RadTreeNodeBinding Expanded="True" /> 
                    </DataBindings> 
                </telerik:RadTreeView> 
            </div> 
        </ItemTemplate> 
    </telerik:RadComboBox> 

Bader
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
274 views
Hi Telerik, 

Question about the Grid and Filter option. 
I have a grid that i bind with a LINQ list that gathers data from a MS SQL server. Now I have a field that can return NULL value (Comment field). When I try to bind a filter option in the Grid to this column I get a NULL Exception. 
The solution I found was to put ISNULL(Comment,'') in my Stored Procedure script. 

But is there another work-around for this NULL data problem with Filter option?

(using the latest build released jan. 5 2012)

Best regards
 - Thomas
Andrey
Telerik team
 answered on 30 Jan 2012
11 answers
356 views
Hi 

We used the telerik radeditor in SP2007. Now we migrated to SP2010 and also upgraded the radeditor to the current version.
Unfortunately the behaviour of the MOSSLinkmanager seems to have changed.

it seems that i can't add any target (_new) to the hyperlink and the title of the link can't be altered.

Also we tried to use the LinkManager, there the functionality increased drasticly but we are limited to the current site, and we can't navigate through the hierarchy.

any ideas how we can add this missing functionality so that our client will be happy again?

TIA
best regards 
patrick
Rumen
Telerik team
 answered on 30 Jan 2012
3 answers
149 views
It appears the HeaderTooltip property doesn't work when a column isn't sortable (ie has no sortExpression). In my testing this is the case for TemplateColumns, though it may be true of other column types as well. Is Telerik palnning on changing this? Is there a workaround?
Antonio Stoilkov
Telerik team
 answered on 30 Jan 2012
9 answers
150 views

Hi,

I've got a problem with the excel export for the RadGrid. My grid is a hierarchical grid, there's the master table, and 3 detail tables at the same level of hierarchy. When the user click to the command button for the excel export I need to suppress 1 column in 2 of 3 detail tables, in particular the column is an image column (in the exported file I see the image's pathname).
I try to set visible = false to this column in the RadGrid_ItemCommand, in the button click(i also tried to add a button for the excel export), in the
RadGrid_ItemCreated, but the exported file have only the MasterTableView. To obtain all the hierarchies in the exported file I have to leave unchanged the columns.
How can I suppress the column in detail tables, obtaining anyway all the hierarchies?

thanks in advance,
regards
MgfProject s.r.l

Alessandro
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
137 views
Hello,
I'm using the following code to access the footer SUM of 2 columns, i'm getting a problem when the Grid is empty so there are no footer to display
Private Sub DataGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles DataGrid.ItemDataBound
        If TypeOf e.Item Is GridFooterItem Then
            Dim footerItem As GridFooterItem = DirectCast(e.Item, GridFooterItem)
            
            Dim strUSD As Decimal = footerItem("BalanceUSD").Text
            Dim strLBP As Decimal = footerItem("BalanceLBP").Text
            Dim LBPvalue As Decimal = strLBP * 1507.5
            Dim totalvalue As Decimal = strUSD + LBPvalue
            'MsgBox(totalvalue)
        End If
    End Sub

How do i handle when no data is in the grid?

Regards,
Mike

 

 

 

Richard
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
132 views
HI

i have used radeditor in my asp.net website. this editor have cut copy paste icon. but these icon not working .

if i click the icon , then get pop  box only. it s not working.

i have attached image file . pls help me.
Rumen
Telerik team
 answered on 30 Jan 2012
1 answer
116 views
Hi,
    When I open the dialog Image Manager/HyperLink Manager/ Flash Manager, it gives error "Resource can not found (/Telerik.Web.UI.DialogHandler.aspx)" but when I add the handler in web.config file it works fine.
<system.webServer>
  <handlers>
<add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
</handlers>
</system.webServer>
and  <httpHandlers>
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
    </httpHandlers>
but I don't like to add this setting in web.config file so Is another any option available for RadEditor Dialog works properly? Please find the attached screenshot , because when i add this setting in web.config file , there is problem when deploying in shared hosting server.
Rumen
Telerik team
 answered on 30 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?