Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
379 views
Hi,

I'm pretty sure I've found a bug in the RadEditor in how it handles Height attributes when expressed in percent.  I'm running the latest version of the ASPNET AJAX control suite (Q3-2008).  What I would like to do is set the editor to be 100% of the height of the parent tag (be it div, form, etc.).  However, when I set the Height attribute to be 100%, it seems to render as 100px.  I've tried experimenting around with setting different vaules (both in % and px), but it seems that the actual height ends up being the number value in pixels.

For example:
    <div style="height:100%; background-color:#eeeeee;">  
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> 
        <telerik:RadEditor ID="RadEditor1" runat="server" Skin="Vista" Width="100%" Height="100%">  
            <Content></Content>  
        </telerik:RadEditor> 
    </div> 
 

Renders the following HTML:
<div style="height: 100%; background-color: rgb(238, 238, 238);">  
<script type="text/javascript">...</script> 
<div id="RadEditor1" class="radeditor Vista rade_wrapper" style="height: 100px; width: 100%;">  
<div id="RadEditor1dialogOpener" style="display: none;">...</div> 
<table id="RadEditor1Wrapper" cellspacing="0" cellpadding="0" style="table-layout: auto; width: 100%; height: 100px;">  
</table> 
<input id="RadEditor1_ClientState" type="hidden" name="RadEditor1_ClientState" autocomplete="off"/>  
</div> 
</div> 
(which shows that the wrapper table and wrapper div are set explicitly to 100px)
I've tried changing the % values and the output is consitantly transposing the % to px.
I can provide a simplified project to illustrate the issue.

Thanks,
Brad Blackmon

Rumen
Telerik team
 answered on 26 Jan 2009
1 answer
91 views
Greetings,

I have a grid with a set amount of records. I'd like to be able to add a "see all" hyperlink in the status bar. Is that possible?

Thanks,

-Matt
Daniel
Telerik team
 answered on 26 Jan 2009
1 answer
220 views
Hi

I have one radajaxmanager in my master page and a radajaxmanagerproxy on my content page. on the button click event on my content page i want to call the radajaxmanager clientevent(onresponseend) in my master page. I have tried and looked in all the forums posted in telerik , but i am not able to find the solution of my problem.


Can you please send me the code i need to write in my content page to call the master page client events.


Thanks
Mona
Iana Tsolova
Telerik team
 answered on 26 Jan 2009
1 answer
489 views
I have a RadToolbar that implements the ButtonClick event on the server. Some toolbar buttons will cause the ButtonClick event to execute automatically when the buttons are pressed while other buttons must be first intercepted with javascript code and determined if the ButtonClick event will be executed on the server or not. If the javascript code does execute the ButtonClick event, it does this by using the ajaxRequestWithTarget method on the RadAjaxManager object. This all works fine. In the ButtonClick event, prior to exiting the method, I need to create a client-side script that needs to get executed once the page has been processed. I have tried virtually every combination of RegisterStartupScript either from the ScriptManager object or ClientScript object but the script never gets executed. I have even tried relocating the script to the start of the page, at the end of page, inside Literals, etc. - but it never executes. If I use the ResponseScripts.Add method from the RadAjaxManager object to add the script, the script will run. Why?? When I read the documentation on the RegisterStartupScript in documentation, there is no mention that it requires Ajax functionality, let alone something from Telerik. If the ButtonClick event is being called by ajaxRequestWithTarget, is this somehow preventing Microsoft's ScriptManager or ClientScript object from executing the script?
Iana Tsolova
Telerik team
 answered on 26 Jan 2009
1 answer
90 views
Hi

I m using radtreeview in a form in which if user doesn't choose any role in treeview it should alert .  In code behind i m able to find using below code
if (Roletreeview.CheckedNodes.Count < 0)
Page.RegisterStartupScript("error", "<script language='JavaScript'>alert('" + Resources.Resources._1010 + "'); return false; </script>");

bit i want alert user using javascript code

Advanced thanks ,if any help
Paul
Telerik team
 answered on 26 Jan 2009
1 answer
118 views
I have been reading these formus for a while and have not found a solution to this issue.   Some other users have mentioned still not having a fix for this. 
.mystyle
{ margin-top: -2px; }

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" Align="left" Skin="Vista" Style="position: relative; z-index: 1" Width="600px" SelectedIndex="0" MultiPageID="RadMultiPage1" Orientation="HorizontalTop" >

 

<Tabs>

 

<telerik:RadTab PageViewID="RadPageView1" Text="General Information" />

 

<telerik:RadTab PageViewID="RadPageView2" Text="Class Information" />

 

<telerik:RadTab PageViewID="RadPageView3" Text="Clinical Information" />

 

</Tabs>

 

</telerik:RadTabStrip>

<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="mystyle">

<

telerik:RadPageView ID="RadPageView1" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px" runat="server">

 

 

 

</

telerik:RadPageView>

 

</

telerik:RadMultiPage>

Attached is a image showing the missing pixel.
One fix is to center the tabs then the border wraps around the upper left corner.   This does not look good and I need the tabs to be aligned left.
Is there a way to align left but slide the tabs over just enough to fill in the pixel?

missingpixel.gif

 

 

 

 

 

 

Alex Gyoshev
Telerik team
 answered on 26 Jan 2009
1 answer
113 views
Hello,

I am currently unilizing the header context menu radgrid functionality introduced with the Q3 release. The only way that I found to default a column to unselected in the menu and therefore hide it in the grid is to use the Display="false" tag on the GridBoundColumn. The side effect I am experiencing from this is once the user selects to show a column that has the tag Display="false", the column appears but then after closing the menu and reopening it that column is unselected once again. The column is unselected in the menu even though the column is visible in the grid. Is there a better way I should be doing this? Thanks for any direction you can provide.
Yavor
Telerik team
 answered on 26 Jan 2009
1 answer
89 views
Hello,

I'm experiencing a problem in my PanelBar control where visited or clicked on links change to a normal font weight instead of bold. I have tried many things in the skin file to prevent this, and firebug is telling me the font-weight is bold, but it's actually not. This is strange!

Here is some of the relevant CSS in my Skin file:

.RadPanelBar_SoftexPanelBar .rpRootGroup .rpLink
{
    background: #FF0000;
    color: White;
    font-weight:bold;    
    margin-bottom:1px;
}

.RadPanelBar_SoftexPanelBar .rpRootGroup .rpExpanded,
.RadPanelBar_SoftexPanelBar .rpRootGroup .rpClicked,
.RadPanelBar_SoftexPanelBar .rpRootGroup .rpSelected
{
    background: #9C0606;
    font-weight:bold;
}
 .RadPanelBar_SoftexPanelBar .rpRootGroup span.rpText
 {
   font-weight:bold;
 }

.RadPanelBar_SoftexPanelBar .rpRootGroup .rpLink:hover
.RadPanelBar_SoftexPanelBar .rpRootGroup .rpLink:visited
.RadPanelBar_SoftexPanelBar .rpRootGroup .rpLink:link
{
    background: #9C0606;
    color:White;
  font-weight:bold;
}

Hope you can help!

John
Kamen Bundev
Telerik team
 answered on 26 Jan 2009
3 answers
195 views
Hi,

I've worked with Telerik controls on previous projects. On my current one I've been asked to build some dashboards inside of SharePoint 2007 and have been looking at Dundas Guage to achieve this:

http://support.dundas.com/?Article=1122

I haven't used Dundas before and would prefer to tell my boss to go for Telerik, can the Rad Chart component to this inside of SharePoint?

Best Regards
Kieran
Giuseppe
Telerik team
 answered on 26 Jan 2009
1 answer
113 views
what is the best way to chart a line curve graph whose data points are calculated from a 5th order polynomial whose constants are dynamic? The x-axis range is also dynamic.

My first stab at it was to generate a series that had 50 data points and bind it, but then the x-axis had too many points on it to be readable.
Velin
Telerik team
 answered on 26 Jan 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?