Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
308 views
Hi all,

What is the best way to rebind a RadTreeView after inserting a new node in the database that is feeding the RadTreeView?

Thanks,
Bruno
Shinu
Top achievements
Rank 2
 answered on 22 Nov 2011
2 answers
212 views
Hello Dear Sir or Madam

In http://portal.recris.info/ , Ι have implemented 4 tabs, using RadTabStrip and RadMultipage.
In each Tab I'm loading different pages from the same site.
As you can see, at the First Tab, called Accidents, I have put a RadGrid with several data.
At the last column of the Grid, I have an asp link which is directing to a google map I have implemented in the same site.
This link is passing to the map, the ID of the record.

I have also this whole map, with all the markers, to the 3rd Tab (called: Accident's map)
Currently the link at the Grid, is opening the map to a new window (target="_blank")
Is it possible to open the link in the 3rd tab instead? (using some kind of code)

I want to use this implementation to another site also.

Thank you in advance for your reply.

Velissarios
vhousos@gmail.com
Velissarios
Top achievements
Rank 1
 answered on 22 Nov 2011
1 answer
561 views
Hi there

I have a radEditor that is set to render its content area as an IFrame, using a custom version of EditorContentArea.css. The problem is, that the styles in the custom stylesheet file do not seem to be utilised by the elements in the rendered IFrame.

The IFrame is rendered as this in Firefox:

<iframe frameborder="0" style="width: 100%; height: 100%; margin: 0px; padding: 0px;" id="[myeditorclientid]_contentIframe">

<html>
<head></head>
<body>
<div class="editorcontentdiv2">
<p class="editorcontent2">My dog has no nose</p>
</div>
</body>
</html>

</iframe>


The markup for the editor is provided with the correct location for the css file in question:

<CssFiles>
<trk:EditorCssFile Value="~/App_Themes/PD_RadSkins/PD_RadSkin_1/EditorContentArea.PD_RadSkin_1.css" />
</CssFiles>

and I also use a preload routine to add all the required CSS files for the page in Page_Load, something like this:

AddCss("~/App_Themes/PD_RadSkins/PD_RadSkin_1/EditorContentArea.PD_RadSkin_1.css", Me.Page)

This method works for all the other CSS files, but when it comes to the IFrame content, the custom styles in my EditorContentArea css file are not applied. Sure enough, when I examine the <p> or <div> elements of the generated markup, e.g. in Firebug, it reports that: "The element has no style rule".

What could be causing this situation? Please don't advise using DIV mode, I need the IFrame functionality.

Thanks for any advice you can provide.



 




Rumen
Telerik team
 answered on 22 Nov 2011
1 answer
71 views
Hello,

Is drag and drop from RadPanelBar supported yet?  I would like to drag and drop from RabPanelBar to RadGrid.

Thanks,

Dan
Kate
Telerik team
 answered on 22 Nov 2011
1 answer
77 views

Hi,

I have a RadTreelist inside a RadTreeview nodes.My requirement is to Retrieve  RadTreelist from a RadTreeview using javascript.My aim is to when clicking on the RadTreeview node ,my RadTreelist should be expand at level 1.How is it possible using javascript?How to iterate each nodes using javascript?

Thanks ,
Sindu.
Pavlina
Telerik team
 answered on 22 Nov 2011
6 answers
220 views
Hi,

1. ColorPicker always behind of jQuery UI Dialog.
2. ColorPicker appears with delay after first opening.

My code here:
<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
    protected void Page_Load(object sender, EventArgs e)
    {
  
    }
</script>
<head runat="server">
    <title></title>
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="myDialog" style="display: none; overflow:hidden;">
        <table>
            <tr>
                <td>
                    Value: </td>
                <td>
                    <telerik:RadColorPicker 
                        ID="RadColorPicker1" 
                        ShowIcon="true"
                        style="z-index:5000"  
                        runat="server">
                    </telerik:RadColorPicker>
                </td>
                <td>
                    <input id="Button1" type="button" value="Save" onclick="javascript:saveColor();" />
                </td>
            </tr>
        </table>
    </div>
    <div id="selectedColor"></div>
    <input id="Button2" type="button" value="New color" onclick="javascript:openDialog();" />
    </form>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
    type="text/javascript"></script>
<script type="text/javascript">
  
    function saveColor() {
        var c = $find("RadColorPicker1");
        $("#selectedColor").html("Your selected color is: " + c.get_selectedColor());
        $("#myDialog").dialog("close");
    }
  
    function openDialog() {
        $("#myDialog").dialog({
            title: 'Choose color',
            width: '250',
            draggable: false,
            resizable: false,
            show: 'slow',
            hide: 'slow',
            modal: true
        });
    }
  
    $(document).ready(
        function () {
            //
        }
    );
  
</script>
</html>

Please solve this issue!

Thanks!
Niko
Telerik team
 answered on 22 Nov 2011
1 answer
185 views
<div class="product-grid">
<asp:DataList ID="dlProducts" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
RepeatLayout="Table" ItemStyle-CssClass="item-box">
<ItemTemplate>
<nopCommerce:ProductBox1 ID="ctrlProductBox" Product='<%#Container.DataItem%>'
runat="server" />
</ItemTemplate>
</asp:DataList>
</div>
<div class="clear">
</div>
<div class="product-pager">
<telerik:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="dlProducts">
            <Fields>
                <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                <telerik:RadDataPagerButtonField FieldType="Numeric" />
                <telerik:RadDataPagerButtonField FieldType="NextLast" />
                <telerik:RadDataPagerGoToPageField />
                <telerik:RadDataPagerNumericPageSizeField />
                <telerik:RadDataPagerSliderField />
            </Fields>
        </telerik:RadDataPager>
</div>



please help me how can i use raddatapager with asp datalist ???

i tried this but its not working
???
Iana Tsolova
Telerik team
 answered on 22 Nov 2011
0 answers
147 views
i Deleted Css files from TFS and added new css files those i merged in to main.but if anyone take latest they are not getting latest means Css files are not including to Project wat is the problem please give me any suggestion
Abu
Top achievements
Rank 1
 asked on 22 Nov 2011
3 answers
206 views

Hi,

I have a radtreeview .it has 3 Treenode .I have a RadTreelist inside the node template .how to expand the treelist when I expand the treenode ? or In which treenode event should be used for this purpose?

Thanks

Sindu.
Tsvetina
Telerik team
 answered on 22 Nov 2011
1 answer
153 views
Hi,

We are using sharepoint 2007.
In one of our subsite we are facing error while trying to activate feature.

In Site Feature when we try to activate Feature  "Office SharePoint Server Publishing" then we get following error

The given key was not present in the dictionary.   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.SharePoint.Publishing.PublishingWeb.get_VariationLabelsListId()
   at Microsoft.SharePoint.Publishing.Internal.VariationSettings.get_VariationLabelsList()
   at Microsoft.SharePoint.Publishing.PublishingWeb.<>c__DisplayClass19.<get_IsInVariationSourceHierarchy>b__18()
   at Microsoft.SharePoint.SPSecurity.CodeToRunElevatedWrapper(Object state)
   at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
   at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
   at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
   at Microsoft.SharePoint.Publishing.PublishingWeb.get_IsInVariationSourceHierarchy()
   at Microsoft.SharePoint.Publishing.Internal.AreaProvisioner.InitializePublishingWebDefaults()

Kindly help me to remove this error.
Thanks in advance,
Rushikesh
Stanimir
Telerik team
 answered on 22 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?