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

i have the following problem: I create the TreeView programmatically as a part of composite control and bind my data in CreateChildControls method. After PostBack on ContextMenu my Tree collapses all nodes and don't save the expand state.

How can i let the tree to save the state?
Is it only possible via session or viewstate?

Thanks,
Paul
Shinu
Top achievements
Rank 2
 answered on 08 Dec 2009
4 answers
123 views
Hello,

        I want to make telerik reports. Also i want to make use of multiple sub-reports inside it.
        Please help me to sort out the problem.



Thanks,
Kunal Patel
kunal patel
Top achievements
Rank 1
 answered on 08 Dec 2009
6 answers
138 views
Hi,

I'm implementing the first time a more complex use of rad-editor.
For this reason I took the "FullSetOfTools.xml" from the samples and modified it.

My approach was for the InsertSnippet Tool to display only the Text.
So I modified the tool line to
<tool name="InsertSnippet" showicon="false" showtext="true" /> 
Now I have a "mixed mode" - which means I have the text AND the icon still displayed!!

Did I make a mistake? Or am I missing something?
OR - is it a bug???

By the way - is it possible (via Tools.xml) to have a thing looking like "Custom Links" (Dropdown) - but instead of Links display some
"Snippets". - That is the Reason why I tried to change the InsertSnippet.
And a second question - is it possible to have multiple of these things?

So that I have (for an example) an InsertSnippet for let's say "Animal Names" and another one for "Plant Names"?

Regards

Manfred
Martin
Telerik team
 answered on 08 Dec 2009
1 answer
170 views
I'm doing something wrong, and all the examples I see are very simplistic and not helping me.

I'm putting this editor in an admin area, like some of the examples alude to.  My site has one css file for the normal area, and one css file for the admin area.   When the text is displayed, naturally it won't use the CSS from the admin area, so when using the editor, I'd like the editor to have the CSS file from the main website available.

After some searching, I see that I need to do the following setting

 

<CssFiles>

 

 

    <telerik:EditorCssFile Value="~/Css/mainsitefile.css" />

 

 

</CssFiles>


So when I do this though, the content area is basically applying every single setting from inside the css file.  Specifically my big honking background settings that the whole main website is based on.

Of course I don't want this.  The background I need to apply should be one from a specific class in my main website CSS file.

So I tried to add this.

 

 

<CssClasses>

 

 

 

 

 

        <telerik:EditorCssClass Name="blogArea" Value=".blogArea" />

 

 

 

 

 

</CssClasses>

But It still shows my big honking main website background instead of the simple black background in this class.

So I tried taking off the CSSFile part, but now I have nothing.

So at this point, I need help, because clearly I'm not doing this the obvious way it was intended to work.  Point me in the right direction please.

 

Rumen
Telerik team
 answered on 08 Dec 2009
1 answer
108 views
Hi:

I have this scenario.

ePageBase00.aspx
This is the code for window manager
        <telerik:radwindowmanager ID="radWndManager" runat="server" DestroyOnClose="true" KeepInScreenBounds="true"  Behaviors="Close, Minimize, Move, Resize" />     
 

Also I have a spliiter in which sprestricted01 RadPane I load all *.aspx pages depending on the user's requeriments
<telerik:RadSplitter id="sp1" runat="server" Orientation="Horizontal" height="100%" width="100%" BorderSize="0" BorderWidth="0px" SplitBarsSize=""  
            VisibleDuringInit="false"
<telerik:RadPane ID="sp1Top01" runat="server" MaxHeight="30" Height="30" Scrolling="None" Width="100%" cssclass="div02"
</telerik:RadPane> 
<telerik:RadPane ID="sp1Restricted01" runat="server" Width="100%" Height="100%" ContentUrl="ePageBase01.aspx?a=0"
            </telerik:RadPane> 
</telerik:RadSplitter> 



Here I have all the javascript code for controlling radwindows
<script language="javascript" type="text/javascript"
function fnOpenWin(prWin, prTitle, prUrl, prModal, prIcon, prWidth, prHeight, prMaximized, prCentered, prBehaviors) 
    var oManager = GetRadWindowManager();            
    var wWinN = oManager.open( prUrl, prWin ); 
    wWinN.add_close(OnClientClose); 
 
function OnClientClose(oWnd, eventArgs)  
    oWnd.setUrl("about:blank"); // Sets url to blank 
    oWnd.remove_close(OnClientClose); //remove the close handler - it will be set again on the next opening      
</script>      


eTicket01.aspx
(who is loaded in the spRestricted01 RadPane of the eBasePage00.aspx)

I open a RadWindow, using the javascript functions declared in eBasePage00.aspx
<asp:linkbutton id="btnNewTicket" runat="server" OnClientClick="javascript:top.fnOpenWin('TicketPop','Tickets','../01/e01TicketPop.aspx?h=1&r=0',true,'materl16.gif',790,680,false,true,36);return false;"><img src="../../img/new.gif" alt="New Ticket" /></asp:linkbutton> 


Inside e01TicketPop.aspx
e01TicketPop.aspx is opened from e01Ticket01.aspx, I open a new RadWindow

<a href="#" onclick="javascript:top.fnOpenWin('WhoReportedIt','UserWhoReportedIt','../01/e01TicketsWhoReportedPop.aspx?h=1',true,'mat16.gif',500,380,false,true,36);return false;"><img src="../../img/viewpost.gif" alt="" /></a> 


So at this moment I have this:

ePageBase00.aspx (where radwindowmanager is declared, where all javascript functions exit. I have a rad splitter)
eTicket01.aspx (is loaded in the bottom pane of ePageBase00.aspx)
e01TicketPop.aspx (radwindow opened from eTicket01.aspx)
e01TicketWhoReportedPop.aspx (radwindow opened from e01TicketPop.aspx)

Here comes the question:

How can I pass 3 parameters from fields(textbox) in e01TicketWhoReportedPop.aspx to variables(labels) of e01TicketPop.aspx, at the moment I close e01TicketWhoReportedPop.aspx, considering I have javascript OnClientClose(oWnd, eventArgs) declared in ePageBase00.aspx?

I have already seen this link, but it assumes a differen scenario:
DialogsReturnValues


Any help is welcomed.





Svetlina Anati
Telerik team
 answered on 08 Dec 2009
1 answer
94 views
Hi,

I run into the following

When I apply

<telerik:RadAjaxLoadingPanel CssClass="xxx" runat="server" ID="LoadingPanel1" Transparency="20" IsSticky="True">

results in

<div id="ctl00_BlockTalen_LoadingPanel1" class=" xxx" style="display:none;">

There is an extra space in the class name.

Please inform soonest...

Marc






Dimo
Telerik team
 answered on 08 Dec 2009
1 answer
225 views
Hello,

I was wondering if there's a quick way to bypass Image Manager to upload and insert images into the editor?

Basically we need:
- Upload button right on Toolbar of Editor instead of inside the Image Manager
- That button opens the "Upload dialog" as normal but limit user to upload 1 file only if possible
- Uploads to location set in "UploadPaths" directory
- Once clicked "Upload" button in Upload dialog; it will automatically Insert also as if you pressed "Insert" in Image Manager.
- Then puts Image inline with text in Editor.

I can't seem to find how ImageManager.ascx access the upload dialog so I can't change it to work this way.  I appreciate any help on this.

Thanks.
Gary

Dobromir
Telerik team
 answered on 08 Dec 2009
3 answers
820 views
Hello,


    I am using VS 2008, Telerik ASP.NET 2009.2 .
  
    I want to know how to get rid of the style="width:125px"  value.

    I have a web site that has its own skin and layouts.

    I want to use all the features in my own skin, with imply size limits to input field.
    Unfortunately, when I try to force the size of the inputs with a css class. Telerik adds
    a   'Style="width:125" ' after the class, which forces the field size to be based on this parameters.
   
    That happens basically in all types of input, some with different sizes. How can I get rid of this
    value and force telerik to use only the values on the classes I am using.

     I know I can add a style to the skin, replacing the default behavior. That  hinders the benefit of
     having several class with different sizes on the classes, allowing me to have different standardized fields.
     here is an example
<div>
<span id="ctl00_Body_SalesBrokerCommission_wrapper" class="RadInput RadInput_Telerik" style="white-space: nowrap;">
<input id="ctl00_Body_SalesBrokerCommission_text" class="riTextBox riEnabled large" type="text" style="width: 125px;" tabindex="7" name="ctl00_Body_SalesBrokerCommission_text" value="5.00 %"/>
<input id="ctl00_Body_SalesBrokerCommission" class="rdfd_" type="text" value="5" style="border: 0pt none ; margin: -18px 0pt 0pt; padding: 0pt; overflow: hidden; visibility: hidden; width: 1px; height: 1px;"/>
<input id="ctl00_Body_SalesBrokerCommission_Value" class="rdfd_" type="text" value="5" name="ctl00$Body$SalesBrokerCommission" style="border: 0pt none ; margin: -18px 0pt 0pt; padding: 0pt; overflow: hidden; visibility: hidden; width: 1px; height: 1px;"/>
<input id="ctl00_Body_SalesBrokerCommission_ClientState" type="hidden" name="ctl00_Body_SalesBrokerCommission_ClientState" autocomplete="off"/>
</span>


      Thanks,

Joao,  
 
Dimo
Telerik team
 answered on 08 Dec 2009
1 answer
92 views
Hello all !
 
While Dragging and Drop nodes in TreeView it Doesn't show the Clue ( the dotted line ) what am missing from?? should i needs to set any additional property ??

Thanks
Prince

Prince M. Premnath
Top achievements
Rank 2
 answered on 08 Dec 2009
2 answers
207 views
Hi there,

Currently I'm facing an issue with RadAjaxPanel.
The page wraps amCharts component using  <asp:UpdatePanel /> and it works fine to support AJAX request.
And the rest of telerik controls work as well.
But once I changed <asp:UpdatePanel /> using <telerik:RadAjaxPanel />, the amCharts component no longer can be loaded.
The amCharts is a flash component and it uses SWFobject javascript to load it.

Do you have any idea on how to fix it?
For reference: http://www.amcharts.com/forum/viewtopic.php?id=700

Thanks
First
Top achievements
Rank 1
 answered on 08 Dec 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?