Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
189 views
Hello,

Here is my setup:

I have a masterpage with a RadAjaxManager on it, and a content page with a RadAjaxManagerProxy on it.

The content page has 2 asp:panels (a master/detail type page) , the detail panel is hidden by default (and contains multiple rad editors)

Selecting a row from panel 1 will show panel 2 using the RadAjaxManagerProxy AjaxSettings. 

Panel 2 has some textboxes, and rad editors, and a save  and cancel  button. I am able to save no problem everything works. 

However when using MaxHtmlLength to validate the rad editors, clicking save will show the default Telerik javascript alert() and stop the page from posting, but it doesn't stop the loading panel from displaying. It just spins and wont stop until I refresh or close or whatever. It does not actually post to the server, it just seems to be in limbo land. 

Any suggestions? 

Thanks!
Leslie Huszar
Top achievements
Rank 1
 answered on 06 Dec 2012
1 answer
93 views
Is there any way to use the SendEmail control without specifying the SMTPServer, UserName or Password in the EmailSettings? We are using a service to send all of our emails that only exposes a Send method that takes in a System.Net.Mail.MailMessage. Unfortunately the SMTP server credentials are not exposed to the application that is using the share control.

Thanks,
Carl
Marin Bratanov
Telerik team
 answered on 06 Dec 2012
4 answers
105 views
Hi

Is it possible to have the secondary Y axis on the right hand side of the Chart as in the way the RadChart control works? 

I like the way the HTML Chart renders, but my customer does not like the second Y axis on the left also.

Regards
Mark
Danail Vasilev
Telerik team
 answered on 06 Dec 2012
2 answers
82 views
When I press 'x' to clean text area in ComboBox, file event parameter RadComboBoxItemsRequestedEventArgs has property Text not empty but with last value. Why?

Thanks.
Pls. Check Page Method on http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx 
Kalina
Telerik team
 answered on 06 Dec 2012
3 answers
125 views
Hi,

I am using RadEditor in our grid for each row and column but in edit mode (Multi Edit- where all RadEditors are in edit mode) I am having problem in getting the toolbar for all the RadEditors (when using ToolBarMode as ShowOnFocus and ToolBarProviderId same for all the RadEditor Controls for better Performance).

Note: Edit all the Rows and Columns at the same time causes this problem.

I am dynamically generating the RadEditors using the below code:

private DerivedRadEditor CreateRadEditor(bool isPreviewMode)
  
{
  
if (this.radMemo == null)
  
{
  
this.radMemo = new DerivedRadEditor();
  
//Translation 
  
this.radMemo.Language = Thread.CurrentThread.CurrentUICulture.Name;
  
this.radMemo.ID = this.ID + "rm";
  
this.radMemo.ToolbarMode = EditorToolbarMode.ShowOnFocus;
  
this.radMemo.OnClientCommandExecuting = "OnClientCommandExecuting";
  
this.radMemo.EnableViewState = false;
  
//this.radMemo.Skin = "WebBlue";
  
this.radMemo.StripFormattingOptions = EditorStripFormattingOptions.NoneSupressCleanMessage;
  
///Setting default style for RadEditor Content Area
  
  
radMemo.ContentAreaCssFile = "~/client/CSS/EditorContentAreaStyles.css";
  
  
if (Page.Items["FirstRadEditor"] == null)
  
{
  
Page.Items["FirstRadEditor"] = radMemo;
  
}
  
else
  
{
  
radMemo.ToolProviderID = ((DerivedRadEditor)Page.Items["FirstRadEditor"]).ID;
  
}
  
if (isPreviewMode)
  
{
  
this.radMemo.EditModes = EditModes.Preview;
  
radMemo.ToolsFile = "~/client/XML/RadEditorTools/MemoPreviewTools.xml";
  
}
  
else
  
{
  
this.radMemo.EditModes = EditModes.Design;
  
radMemo.ToolsFile = "~/client/XML/RadEditorTools/MemoDefaultTools.xml";
  
}
  
// Removed reuse the tools from another RadEditor code as it was not working with Floating mode
  
//Adding Paste as Cross reference HTML
  
//EditorTool pastCrossReference = new EditorTool("PasteCrossReference");
  
//this.radMemo.ContextMenus.FindByTagName("*").Tools.Add(pastCrossReference);
  
 
  
this.Controls.Add(radMemo);
  
HiddenField hdnRADEditorAvailable = (HiddenField)this.Page.FindControl("hdnIsRADEditorAvailable");
  
if (hdnRADEditorAvailable != null && hdnRADEditorAvailable.Value != "1")
  
{
  
hdnRADEditorAvailable.Value = "1";
  
}
  
}
  
return this.radMemo;
  
}

Please suggest some solution.

Thanks
Ankur
Rumen
Telerik team
 answered on 06 Dec 2012
1 answer
101 views
HI,
In the insertcommand, i have the following code:

GridEditableItem item = e.Item as GridEditableItem;
           Hashtable values = new Hashtable();
            item.ExtractValues(values);            
           Session["GridValues"] = values;
           RadGrid1.DataBind();


I am trying to do a soft save of the grid items. When the first row is added it is set in the session. when the 2nd row is added, only the 2nd row values are available in the session.

How to add items in session?

Thanks
Antonio Stoilkov
Telerik team
 answered on 06 Dec 2012
10 answers
160 views
Hi,

I want to export RAD Grid including some data with grid.I know how to expot RAD grid into exel.But i want to include some other data in excel.But this data is not included in Grid.Can you please assist me how to proceed this by modifying below code.

grdQwest.ExportSettings.OpenInNewWindow =

True

 

grdQwest.ExportSettings.IgnorePaging =

True

 

grdQwest.ExportSettings.ExportOnlyData =

True

 

grdQwest.ExportSettings.FileName =

"QWESTMetrics"

 

grdQwest.MasterTableView.ExportToExcel()

Daniel
Telerik team
 answered on 06 Dec 2012
2 answers
69 views
Hi,
How insert page header & Footer, Report Header and Footer and  Page setup in telerik grid exporting(as xml,doc,pdf etc). 


Thanks & Regards
Anzar.M
Daniel
Telerik team
 answered on 06 Dec 2012
3 answers
142 views
Hello,

I have RadProgressManager for uploading files. It works fine, but when I leave page it take a lot of time even if I do not upload any file before. When I use fire bug (console) it fire more than 10 events with this code:
var rawProgressData = {InProgress:false,ProgressCounters:false};


Code:

<rad:RadProgressManager ID="RadProgressManager1" Runat="server">
</rad:RadProgressManager>
<rad:RadUpload ID="fuDatoteke" Skin="Office2007" ControlObjectsVisibility="None" AllowedFileExtensions=".csv" MaxFileInputsCount="1" runat="server">
</rad:RadUpload>
<rad:RadProgressArea ID="RadProgressArea1" Skin="Office2007" CssClass="positionAbsolute" runat="server">
</rad:RadProgressArea>

Error.png

When I test it on server it fire 65 events?!!
Genady Sergeev
Telerik team
 answered on 06 Dec 2012
3 answers
261 views
In a regualr asp griwview the following scenerio with a hyperlink emial button works just fine and opens outlook to send an email to a person, but when I put this same functionality into a radgrid, it opens up outlook, but then also forwards the current page the radgrid is on to the email of the person and errors out the application. Id there a way to create this same functionality in a radgrid.  Right now where they need the clickable email functionality on a page I have to use griwviews and am using a combination of gridviews and radgrids in projects, i would rather use radgrids for increased fucntionality.  Please solve this issue.

 <asp:GridView ID="myGridView" runat="server" Font-Size="10" HeaderStyle-HorizontalAlign="Center" BorderWidth="1px" CellPadding="6" GridLines="Both" BorderColor="#404040"
                                    Font-Names="Veranda,arial,sans-serif" AutoGenerateColumns="false" CellSpacing="0" Width="100%" RowStyle-HorizontalAlign="left" DataKeyNames="intLocationId"><AlternatingRowStyle BackColor="#b0c4de" />
                                    <HeaderStyle Font-Bold="true" ForeColor="White" BackColor="SteelBlue" />
                                        <Columns>
                                            <asp:TemplateField HeaderText="Contact">
                                                <ItemTemplate>
                                                    <asp:HyperLink NavigateUrl='<%# Bind("strFTEmail", "mailto:{0}") %>' Text='<%# Bind("strFullname") %>' runat="server" ID="hlEmail"></asp:HyperLink>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="strPhone" HeaderText="Contact #" />
                                        </Columns>
                                    </asp:GridView>
Milena
Telerik team
 answered on 06 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?