Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
117 views
Hi

I am opening a radwindow with the radopen command and cannot figure out how to exercise control over the appearance of the resulting window. For instance, I am trying to hide the status bar.

Here is the code

<

 

telerik:RadWindowManager ID="RadWindowManagerPartPicker" ShowContentDuringLoad="false" VisibleStatusbar="false"

 

 

ReloadOnShow="true" runat="server" Skin="Vista" Opacity="50" KeepInScreenBounds="true" DestroyOnClose="true">

 

 

<Windows>

 

 

<telerik:RadWindow ID="PartsListWindow" runat="server" Behaviors="Close" OnClientClose="OnClientClose" VisibleStatusbar="false"

 

 

NavigateUrl="../Editor.aspx" Skin="Vista">

 

 

</telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

 

 

<

 

script type="text/javascript">

 

 

//<![CDATA[

 

 

function openWin() {

 

 

var oWnd = radopen("Editor.aspx", "PartsListWindow");

 

}

 

 

 

//]]>

 

 

</script>

 



Whatever I try to do, I cannot get the Status bar not to appear. Can anyone help?

Thanks in Advance
Georgi Tunev
Telerik team
 answered on 29 Mar 2010
0 answers
181 views
Hi Team,

Could you explain how to use RadUpload using this S3 ContentProvider. Thanks.

http://www.telerik.com/community/code-library/aspnet-ajax/file-explorer/amazon-s3-filebrowsercontentprovider.aspx
Pierre
Top achievements
Rank 1
 asked on 29 Mar 2010
1 answer
206 views
Hi,
i am using Telerik.Web.UI  version: 2009.2.826.35
I have a sql DataTable which contains id,startDate,End date and text.
basically i want to display all text between the date range in RadScheduler. this is only view purpose.
I could not find any good example to use SQL DataTable.
Can any one help me please...

here is my code to get data from SQL Database

private DataTable GetSelectedCitations(string strCitationIDs)
        {
            DataTable objDT = null;
            using (SqlConnection objConn = new SqlConnection(DBConnectionString))
            {
                SqlCommand objCmd = new SqlCommand("uspCITGetCitationInfo", objConn);
                objCmd.CommandType = CommandType.StoredProcedure;
                objCmd.Parameters.AddWithValue("@ID", m_ID);
                objCmd.Parameters.AddWithValue("@CitationID", strCitationIDs);

                SqlDataAdapter objDA = new SqlDataAdapter(objCmd);
                objDT = new DataTable();
                objDA.Fill(objDT);

                objDA.Dispose();
            }
            return objDT;
        }

thanks
Ramnaa
Peter
Telerik team
 answered on 29 Mar 2010
1 answer
229 views
 Hello,
   I'm having a bit of a problem placing an upload control on an aspx page that's being used inside a Sharepoint site.  I added all the web.config settings accordingly:
    <httpHandlers>       
        <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" validate="false" /> 
      <add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />             
    </httpHandlers> 
         and... 
   <httpModules>         
        <add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" /> 
    </httpModules> 
 In my ASPX page, I have
<rad:RadProgressManager id="Radprogressmanager1" runat="server" /> 
<rad:RadProgressArea id="RadProgressArea1" runat="server" /> 
*             
  <rad:RadProgressManager id="Radprogressmanager1" runat="server" />             
<rad:RadProgressArea id="RadProgressArea1" runat="server" /> 
 
<rad:RadUpload ID="RadUpload1" Runat="server" ControlObjectsVisibility="All"  
 InitialFileInputsCount="3" MaxFileInputsCount="5" MaxFileSize="1000000"  
            TargetFolder="~/Files" /> 

I have both RadUpload.Net2.dll and RadAjax.Net2.dll in the bin.
 
However when I open my page, I keep getting this error:

The control type 'Telerik.WebControls.RadProgressManager' is not allowed on this page. The type is not registered as safe.  
                <rad:RadProgressManager id="Radprogressmanager1" runat="server" />
                 <rad:RadProgressArea id="RadProgressArea1" runat="server" />

 Any help is greatly appreciated.
Thanks you Roland
Chip
Top achievements
Rank 1
 answered on 29 Mar 2010
1 answer
62 views
Sorry for the confusing title.  I'm using the editor as part of a CMS package for my church's website.  The problem I have is that when the html content is displayed in the editor none of the images appear.  I know why they don't - the urls for the images are pointing at locations that would only make sense if the page was at the root of the website.  Since the editor is located in a secured directory and not the root none of the image urls work.  Is there a setting in the grid that would let me fake where it should be thinking it's loading from?  Or something like that I guess.  Thanx!

Eric
Rumen
Telerik team
 answered on 29 Mar 2010
3 answers
119 views
I have a custom form to add appointments.  When I click on the Scheduler's All day row, I need some type of flag to know that the user clicked this row so I can create an All Day appointment.  What indicates this?

Thanks.
Peter
Telerik team
 answered on 29 Mar 2010
1 answer
83 views
HI,

I have a table which may contain hundreds of NumericTextBoxes. This results in thousands line of Javascript repeating

Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadNumericTextBox, {"_enableOldBoxModel":false,"_focused":false,"_originalValue":45,"_postBackEventReferenceScript":"setTimeout(\"__doPostBack(\\\u0027ctl00$m$g_c2c9bd70_6add_41ce_811f_7a6842bf9330$ctl10$6cd603ba-6163-4442-b414-0171c5db5942_upper_12$inputBox\\\u0027,\\\u0027\\\u0027)\", 0)","_shouldResetWidthInPixels":true,"clientStateFieldID":"ctl00_m_g_c2c9bd70_6add_41ce_811f_7a6842bf9330_ctl10_6cd603ba-6163-4442-b414-0171c5db5942_upper_12_inputBox_ClientState","enabled":true,"incrementSettings":{InterceptArrowKeys:true,InterceptMouseWheel:true,Step:1},"numberFormat":{"DecimalDigits":0,"DecimalSeparator":".","CultureNativeDecimalSeparator":".","GroupSeparator":",","GroupSizes":3,"NegativePattern":"-n","NegativeSign":"-","PositivePattern":"n","AllowRounding":true,"KeepNotRoundedValue":false,"KeepTrailingZerosOnFocus":false},"styles":{HoveredStyle: ["width:32px;", "riTextBox riHover eingabe number"],InvalidStyle: ["width:32px;", "riTextBox riError eingabe number"],DisabledStyle: ["width:32px;", "riTextBox riDisabled eingabe number"],FocusedStyle: ["width:32px;", "riTextBox riFocused eingabe number"],EmptyMessageStyle: ["width:32px;", "riTextBox riEmpty eingabe number"],ReadOnlyStyle: ["width:32px;", "riTextBox riRead eingabe number"],EnabledStyle: ["width:32px;", "riTextBox riEnabled eingabe number"],NegativeStyle: ["width:32px;", "riTextBox riNegative eingabe number"]}}, null, null, $get("ctl00_m_g_c2c9bd70_6add_41ce_811f_7a6842bf9330_ctl10_6cd603ba-6163-4442-b414-0171c5db5942_upper_12_inputBox"));
});

As the application targets IE6 this is extremly slow, causing a non responding IE.

Isn't there a possibility to speed things up / reduce the js code?
Dimo
Telerik team
 answered on 29 Mar 2010
1 answer
106 views

problem with custom fonts in the drop down.

My Radeditor component contains the following.

 

 

<FontNames>

 

 

 

<telerik:EditorFont Value="SomeFont1" />

 

 

 

<telerik:EditorFont Value="SomeFont2" />

 

 

 

<telerik:EditorFont Value="SomeFont3" />

 

 

 

</FontNames>

However, no matter what font is chosen the text in the dropdown box says Arial.    If I examine the content it is updating to the selected font. (ie: <FONT face="SomeFont1">dfsdfasdfasdfasdf</FONT>)  Only the text rendered in the dropdown says Arial.  

Note, that the fonts being chosen do not actually exist on the computer.  The content is being captured for an offline printing application, where the user chooses the font(s) the content will print in. 

Does the editor require the chosen font to exist on the client computer? 

Since, I dont what the user to think that the content will print in Arial.  Is there a way to make the box say "Default" instead of "Arial"? 



 

Rumen
Telerik team
 answered on 29 Mar 2010
1 answer
60 views
Hi All

I'm adding html directly to radeditor in html view .The html i'm adding has a style tag where i defined some styles and classes to reference and use. I have a link and when i change it's properties from design view and switch back to html view i find the style tag content replaced by the content of the title tag.

Any idea what may be causing so ?

Thanks
In Advacne
Rumen
Telerik team
 answered on 29 Mar 2010
1 answer
120 views
With the example here:
http://demos.telerik.com/aspnet-ajax/splitter/examples/sp_slidedirection/defaultcs.aspx

Is there a way for me to view pane1, pane2, and pane3 all together at once?



Tsvetie
Telerik team
 answered on 29 Mar 2010
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?