Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views
Hi, just downloaded the trial version and am working through the scheduler section. Completed the getting started chapter and have got it working however whenever an action occurs (adding an appointment, deleting, etc) a page refresh occurs. I'm using the .NET 3.5 framework.
Any help would be great, thanks
Tom
Peter
Telerik team
 answered on 19 Aug 2008
1 answer
141 views
Does anyone know the best way to keep the same tab/multipage selected after a postback?
What I like about the Panelbar control is that it has a "PersistSateInCookie" Property that you can set to "True" and it keeps its selected index even after postback, but how do you do this with the TabStrip and Multipage controls?
Thanks,
~bg
Paul
Telerik team
 answered on 19 Aug 2008
2 answers
101 views

The links to edit are not appearing.  I'm sure I've overlooked something quite obvious, but I have been unable to find the solution after a day.  Please help!

Here is my code:

<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="True" AllowPaging="True" PageSize="30"
                    AllowSorting="True" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1"
                    GridLines="None" Skin="Vista">
                    <MasterTableView DataKeyNames="ID" DataSourceID="ObjectDataSource1" EditMode="InPlace">
                        <RowIndicatorColumn Visible="False">
                            <HeaderStyle Width="20px"></HeaderStyle>
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn Visible="False" Resizable="False">
                            <HeaderStyle Width="20px"></HeaderStyle>
                        </ExpandCollapseColumn>
                        <Columns>
                            <telerik:GridBoundColumn DataField="ID" HeaderText="ID" ReadOnly="True" SortExpression="ID"
                                UniqueName="ID">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="BrokerID" DataType="System.Int32" HeaderText="BrokerID"
                                SortExpression="BrokerID" UniqueName="BrokerID" Visible="False">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName"
                                UniqueName="CompanyName">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Branch" HeaderText="Branch" SortExpression="Branch"
                                UniqueName="Branch">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="LastUserID" DataType="System.Int32" HeaderText="LastUserID"
                                SortExpression="LastUserID" UniqueName="LastUserID" Visible="False">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="LastUserDate" DataType="System.DateTime" HeaderText="LastUserDate"
                                SortExpression="LastUserDate" UniqueName="LastUserDate">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="rowguid" DataType="System.Guid" HeaderText="rowguid"
                                SortExpression="rowguid" UniqueName="rowguid" Visible="False">
                            </telerik:GridBoundColumn>
                            <telerik:GridCheckBoxColumn DataField="IsValidForCrm" DataType="System.Boolean" HeaderText="IsValidForCrm"
                                SortExpression="IsValidForCrm" UniqueName="IsValidForCrm">
                            </telerik:GridCheckBoxColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
                    SelectMethod="GetData" TypeName="DALExtra.CompanyDetailsPrivateDSTableAdapters.CompanyDetailsPrivateTableAdapter"
                    UpdateMethod="Update">
                    <UpdateParameters>
                        <asp:Parameter Name="BrokerID" Type="Int32" />
                        <asp:Parameter Name="CompanyName" Type="String" />
                        <asp:Parameter Name="Branch" Type="String" />
                        <asp:Parameter Name="LastUserID" Type="Int32" />
                        <asp:Parameter Name="LastUserDate" Type="DateTime" />
                        <asp:Parameter Name="rowguid" Type="Object" />
                        <asp:Parameter Name="IsValidForCrm" Type="Boolean" />
                        <asp:Parameter Name="Original_ID" Type="String" />
                        <asp:Parameter Name="Original_BrokerID" Type="Int32" />
                        <asp:Parameter Name="Original_CompanyName" Type="String" />
                        <asp:Parameter Name="Original_Branch" Type="String" />
                        <asp:Parameter Name="Original_LastUserID" Type="Int32" />
                        <asp:Parameter Name="Original_LastUserDate" Type="DateTime" />
                        <asp:Parameter Name="Original_rowguid" Type="Object" />
                        <asp:Parameter Name="Original_IsValidForCrm" Type="Boolean" />
                    </UpdateParameters>
                </asp:ObjectDataSource>

James
Top achievements
Rank 1
 answered on 19 Aug 2008
2 answers
113 views
Ok so I am wondering about efficency here.

I have a DB with over 60 Fields... I need to be able to view ALL of those fields in the NestedViewTemplate, however I am only displaying 4 (four) of those fields in the actual grid.

Since I need ALL of those records, I am currently binding my grid to a StoredProcedure where I am using "Select *"

My problem is that I don't know how effecient it is going to be when I have to call 10,000 records.

Is there a way to only call the "select * from table where ID = @ID " when the "Details" button is called?
Missing User
 answered on 19 Aug 2008
1 answer
212 views
Background: We created reusable HTML block for editors to help them embed video players in pages. When they insert this reusable html into content field, using RADEditor, and save it, RadEditor encodes HTML and saves that.
Problem: One undesirable side-effect of this, in MOSS, when users search article contents, in search results returned, the see long encoded giberesh string of characters.
Question: How do I stop RadEditor from encoding embedded objects. i. e.
<!-- Modify height and width if desired --> 
<object width="570" height="180" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<!-- set the relative path to the file i.e. /media/urology/somevideo.swf -->
<param value="ball.swf" name="movie"/>
<param value="high" name="quality"/>
<!-- Modify height and width if desired -->
<!-- set the relative path to the file i.e. /media/urology/somevideo.swf -->
<embed width="570" height="180" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="ball.swf"/>
</object>
Thanks.
Rumen
Telerik team
 answered on 19 Aug 2008
4 answers
200 views
Hello,
I'm trying to show RadAjaxLoadingPanel in one of web controls based on DotNetNuke platform.
Unfortunately it doesn't show up.
I will really appreciate any help in this matter!
Thank you in advance,
Ilya
Maria Ilieva
Telerik team
 answered on 19 Aug 2008
3 answers
153 views
Could someone please point me in the direction of a working example of a RadScheduler project that uses the templated insert and edit controls. The example given on this site has allthe components there Ie the Aspx markup, the c# code, css classes etc but when I put it together as a project it just doesn't work.

It doesn't know what the <%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %> namespace  is and i can find no other reference to it. All I need is a working example

Thanks

gary

Peter
Telerik team
 answered on 19 Aug 2008
3 answers
157 views
Hi.
I use the tooltip manager to load content using ajax.
If set the RelativeTo to the screen the tooltip sticks on screen when scrolling main window.

This creates problems if the content of the tooltip is heigher than the screen.

If i change RelativeTo to the Element instead the tooltip function as it should. But i dont want it relative to the button you clicke i want it TopCentered to the browserwindow but with the tooltip should be sticky in the same way as using the ReleativeTo=Element

By the way the Sticky property doesnt seem todo anything?

Regards, Anders
Tsvetie
Telerik team
 answered on 19 Aug 2008
1 answer
271 views
I just started using the scheduler for a project. The local telerik demo's look fine. However when I drop it on a page it looks odd. I've tried the default, Web20, and Office2007 skins, all have the same issue with the top buttons and on the right side.

Apparently there is something in the skin I'm using that is causing these display issues. My question is what tools for FireFox or IE can I use to help me discover the cause of these problems between the skin and the telerik scheduler skin/css? Without just cut/paste each section of the CSS until it goes away.

/**************************************************************************************************************
 * Reset
 **************************************************************************************************************/ 
html, body, div, span, applet, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, big, cite, code, 
del, dfn, em, font, img, ins, kbd, q, s, samp, 
small, strike, strong, sub, sup, tt, var, 
dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td { 
    margin: 0; 
    padding: 0; 
    border: 0; 
    outline: 0; 
} 
 
/**************************************************************************************************************
 * Globals
 **************************************************************************************************************/ 
body { font-family: Arial, Helvetica, sans-serif; font-size: 10pt; background-color: #ccc; } 
h1, h2, h3, p, table, ul { margin: 10px; } 
h1 { font-size: 14pt; font-weight: bold; } 
h2 { font-size: 12pt; font-weight: bold; } 
h3 { font-size: 10pt; font-weight: bold; } 
li { margin: 10px 10px 10px 40px; } 
th { whitewhite-space: nowrap; font-weight: bold; } 
td { text-align: left; vertical-align: top; } 
a { color: #3B5E0B; text-decoration: none; } 
a:hover { color: #3B5E0B; text-decoration: underline; } 
input.text, textarea { border: solid #3A75B6 1px; padding: 2px; } 
strong { font-weight: bold; } 
em { font-style: italic; } 
blockquote { margin: 10px 50px; } 
 
.clear { clear: both; } 
.rightright { text-align: rightright; } 
 
/* dont show transparent pngs in IE until the js fixes them */ 
.ie5 .iefix, .ie6 .iefix { display:none; }  
 
/**************************************************************************************************************
 * Layout
 **************************************************************************************************************/ 
#page { margin: 0 auto; width: 750px; background-color: #fff; } 
#page a { font-size: 10pt; } 
 
#header { background-color: #2764C1; color: #fff; height: 150px; margin: 0; overflow: hidden; text-align: rightright; } 
#header ul { list-style: none; } 
#header ul li { display: inline; margin: 0 2px; font-size: 8pt; } 
#header ul li a { color: #fff; text-decoration: none; font-size: 8pt; } 
#header ul li a:hover { text-decoration: underline; } 
#header ul li.username { font-weight: normal; } 
#header h1 { font-size: 24pt; margin: 0 10px; float: left; } 
#header .badge { margin: 0; margin-top: 25px; } 
 
#nav { background: url("Images/tabs_bg.png") repeat-x left top; height: 34px; padding: 0; overflow: hidden; } 
#nav ul { list-style: none; margin: 0; padding: 0; } 
#nav ul li { display: inline; margin: 0; padding: 0; height: 34px; line-height: 34px; } 
#nav ul li a { text-decoration: none; cursor: hand; float: left; text-decoration: none; margin: 0; padding: 0; font-weight: bold; } 
#nav ul li a span { font-size: 10pt; color: #fff; height: 34px; text-align: center; float: left; display: block; padding: 0 15px; } 
#nav ul li a:hover span { color: #3B5E0B; } 
#nav ul li a.selected span { color: #3B5E0B;  } 
 
#content { } 
 
#columns { background: url(Images/columns_bg.png) top left repeat-y; } 
#column1 { width: 500px; overflow: hidden; float: left; } 
#column1 a { font-size: 10pt; } 
#column2 { width: 250px; overflow: hidden; float: rightright; } 
#column2 a { font-size: 10pt; } 
 
#footer { background-color: #2764C1; color: #fff; border: solid #2764C1 1px; height: 100px; font-size: 8pt; } 
#footer p  { font-size: 8pt; } 
#footer ul { list-style: none; float: rightright; font-size: 8pt; } 
#footer li { display: inline; margin: 0; font-size: 8pt; } 
#footer a  { color: #fff; font-size: 8pt; } 
 
/**************************************************************************************************************
 * Page Styles
 **************************************************************************************************************/ 
/* ~/Admin/Default.aspx */ 
#dashboard { width: 750px; margin: 0; padding: 0; } 
#dashboard .column1 { width: 500px; } 
#dashboard .column1 table { margin-right: 0; } 
#dashboard .column2 { width: 250px; } 
 
/* ~/Admin/Users.aspx */ 
#searchterms { margin: 10px; background-color: #eee; border: solid #3A75B6 1px; } 
#searchterms li, a { font-size: 8pt; } 
#searchterms li { margin-top: 2px; margin-bottom: 2px; } 
#searchterms p { margin: 2px 4px; } 
 
#userlist { } 
#userlist .gv { margin: 0 10px; } 
#userlist .count { margin: 0 10px; text-align: rightright; font-size: 8pt; font-weight: bold; } 
#userlist .gvedrs td { width: 730px; padding: 5px; } 
 
/* ~/Admin/Roles.aspx */ 
#roles { } 
#roles .list { margin: 0 10px; padding: 10px; border: solid #3A75B6 1px; background-color: #eee; } 
#roles .list table { margin: 0; padding: 0; } 
#roles .list td { padding: 4px; } 
#roles .list label { margin-left: 5px; } 
#roles .note { margin: 0 10px; } 
 
/* ~/Login.aspx */ 
#login { margin: 50px; } 
#login .container { width: 200px; margin-left: auto; margin-right: auto; } 
#login h1 { margin: 0 0 10px 0; padding: 0; } 
#login p { margin: 10px 0 0 0; padding: 0; font-size: 10pt; } 
#login a { font-size: 10pt; } 
#login label { display: block; font-weight: bold; } 
#login input.text { width: 195px; } 
 
/* ~/Signup.aspx */ 
#signup { margin: 50px 195px; width: 355px; } 
#signup h1 { margin: 0 0 10px 0; padding: 0; } 
#signup table { margin: 0 0 10px 0; border: none; width: 355px; } 
#signup td { padding: 5px; } 
 
/* ~/ForgotPassword.aspx */ 
#passwordrecovery { margin: 50px; } 
#passwordrecovery .container { width: 300px; margin-left: auto; margin-right: auto; } 
#passwordrecovery h1 { margin: 0 0 10px 0; padding: 0; } 
#passwordrecovery p { margin: 10px 0 0 0; padding: 0; } 
#passwordrecovery label { display: block; font-weight: bold; } 
#passwordrecovery input.text { width: 295px; } 
 
/* ~/Member/Account.aspx */ 
#accountinfo { } 
 
/******************************************************************************
 * ASP.NET Controls
 ******************************************************************************/ 
  
/**** <asp:GridView /> ****/ 
.gv { background-color: #ccc; border: solid #3A75B6 1px; border-collapse: collapse; } 
.gv th, .gv td { text-align: left; padding: 2px; font-size: 8pt; } 
.gv th { color: #fff; background-color: #2764C1; } 
.gv th a { color: #fff; text-decoration: none; } 
.gvar { background-color: #fff; } 
.gvpr td { color: #fff; font-weight: bold; background-color: #2764C1; font-size: 10pt; } 
.gvpr a { color: #ccc; font-weight: bold; } 
.gvpr td table { margin: 0; } 
 
/**** <asp:DetailsView /> ****/ 
.dv { background-color: #ccc; border: solid #3A75B6 1px; border-collapse: collapse; } 
.dv td { padding: 4px; } 
.dvh { text-align: rightright; whitewhite-space: nowrap; color: #fff; background-color: #2764C1; font-weight: bold; } 
 
/* <asp:ValidationSummary /> */ 
.vs { color: #fff; background-color: #c00; margin: 0; padding: 4px; } 
.vs ul { margin: 0; padding: 0; list-style: none; } 
.vs li { margin: 0; padding: 0; font-size: 8pt; font-weight: normal; } 
 
/* <hc:Dialog /> */ 
.dialog { color: #000; background-color: #fff; border: solid #2764C1 2px; } 
.dialog_title { color: #fff; background-color: #2764C1; font-size: 10pt; font-weight: bold; padding: 4px; text-align: left; } 
.dialog_content { text-align: left; } 
.dialog_content .gv, .dialog_content .dv, .dialog_content table, .dialog_content p { margin: 10px 10px 0 10px; } 
.dialog_buttons { padding: 10px; text-align: rightright; } 
.dialog_background { background-color: Gray; filter: alpha(opacity=70); opacity: 0.7; } 
 
/* <hc:Button /> */ 
button.btn { background-color: transparent; border: none; margin: 0; padding: 0; } 
button.btn div { border: 0; cursor: pointer; padding: 0 10px 0 0; text-align: center; height: 28px; } 
button.btn div span { display: block; whitewhite-space: nowrap; padding: 0 0 0 10px; color: #fff; font-size: 10pt;  font-weight: bold; height: 28px; line-height: 28px; } 
/* button graphics */ 
button.btn div { background: url(Images/button_right.png) top rightright no-repeat; } 
button.btn div span { background: url(Images/button_left.png) top left no-repeat; } 
button.btn:hover div { background-position: 100% -28px; } 
button.btn:hover div span { background-position: 0% -28px; color: #3B5E0B; } 
/* button browser specific tweaks */ 
.ie button.btn { width: auto; overflow: visible; padding: 0 0 0 4px; } 
/*.gecko button.btn div { margin: 0 -3px; } */ 
 
/************************************************************************************
 * AjaxControlToolkit Popup Calendar
 ************************************************************************************/ 
.ajax__calendar_container {padding:4px;position:absolute;cursor:default;width:240px;font-size:11px;text-align:center;font-family:tahoma,verdana,helvetica;} 
.ajax__calendar_body {height:139px;width:240px;position:relative;overflow:hidden;margin:auto;} 
.ajax__calendar_days, .ajax__calendar_months, .ajax__calendar_years {top:0px;left:0px;height:139px;width:170px;position:absolute;text-align:center;margin:auto;} 
.ajax__calendar_container TD {font-size:8pt;padding:0;} 
.ajax__calendar_header {height:20px;width:100%;} 
.ajax__calendar_prev {cursor:pointer;width:15px;height:15px;float:left;background-repeat:no-repeat;background-position:50% 50%;background-image:url(Images/arrow-left.gif);} 
.ajax__calendar_next {cursor:pointer;width:15px;height:15px;float:rightright;background-repeat:no-repeat;background-position:50% 50%;background-image:url(Images/arrow-rightright.gif);} 
.ajax__calendar_title {cursor:pointer;font-weight:bold;} 
.ajax__calendar_footer {height:15px;} 
.ajax__calendar_today {cursor:pointer;padding-top:3px;} 
.ajax__calendar_dayname {height:17px;width:17px;text-align:rightright;padding:0 2px;} 
.ajax__calendar_day {height:17px;width:18px;text-align:rightright;padding:0 2px;cursor:pointer;} 
.ajax__calendar_month {height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;} 
.ajax__calendar_year {height:44px;width:40px;text-align:center;cursor:pointer;overflow:hidden;} 
 
.ajax__calendar .ajax__calendar_container {border:1px solid #646464;background-color:#ffffff;color:#000000;} 
.ajax__calendar .ajax__calendar_footer {border-top:1px solid #f5f5f5;} 
.ajax__calendar .ajax__calendar_dayname {border-bottom:1px solid #f5f5f5;} 
.ajax__calendar .ajax__calendar_day {border:1px solid #ffffff;} 
.ajax__calendar .ajax__calendar_month {border:1px solid #ffffff;} 
.ajax__calendar .ajax__calendar_year {border:1px solid #ffffff;} 
 
.ajax__calendar .ajax__calendar_active .ajax__calendar_day {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;} 
.ajax__calendar .ajax__calendar_active .ajax__calendar_month {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;} 
.ajax__calendar .ajax__calendar_active .ajax__calendar_year {background-color:#edf9ff;border-color:#0066cc;color:#0066cc;} 
 
.ajax__calendar .ajax__calendar_other .ajax__calendar_day {background-color:#ffffff;border-color:#ffffff;color:#646464;} 
.ajax__calendar .ajax__calendar_other .ajax__calendar_year {background-color:#ffffff;border-color:#ffffff;color:#646464;} 
 
.ajax__calendar .ajax__calendar_hover .ajax__calendar_day {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;} 
.ajax__calendar .ajax__calendar_hover .ajax__calendar_month {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;} 
.ajax__calendar .ajax__calendar_hover .ajax__calendar_year {background-color:#edf9ff;border-color:#daf2fc;color:#0066cc;} 
 
.ajax__calendar .ajax__calendar_hover .ajax__calendar_title {color:#0066cc;} 
.ajax__calendar .ajax__calendar_hover .ajax__calendar_today {color:#0066cc;} 

I had a screen shot to post as well but I don't see an option to attach or embed a photo. How do you attach a photo to a forum message?

Here is a Link to it for now
Peter
Telerik team
 answered on 19 Aug 2008
1 answer
61 views
This is Arun
 
        I am using Telerik Reporting Rad Chart , the Rad Chart is Bound with DataSet . The Dataset has values that i have  checked by debug. At Preview time  it shows " there is  no or empty series" . And in Telerik Reporting Rad Chart,i  havent seen any DataBound(). 
   
I am using Telerik Reporting Q1 2008. pls kindly help to solve it.

Chavdar
Telerik team
 answered on 19 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?