Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
wat i want to is i just want to set radtooltip for my checkboxlist item whose text=Home & Office (free) but its not showing i dont know where i m doing mistake kindly help me out

 foreach (ListItem li in chkPlans.Items)
            {
                if (li.Text == "Home & Office (free)")
                {
                    RadToolTip rd = new RadToolTip();
                    rd.TargetControlID = "chkPlans_0";
                    rd.IsClientID = true;
                    rd.ShowEvent = ToolTipShowEvent.OnMouseOver;
                    rd.Position = ToolTipPosition.Center;
                    rd.Text = "testing2";
                    this.Form.Controls.Add(rd);
                    //li.Attributes.Add("title", "testing");


                }




                li.Text = li.Text + " ?";
            }
Marin Bratanov
Telerik team
 answered on 08 Jun 2011
2 answers
56 views
I have a grid using a GridDateTimeColumn formatted from a stored procedure as mm/dd/yyyy.  The textbox alongside the DatePicker to filter zero supresses in the month and day so Equal To filtering doesn't work.  How do I fix this?
<telerik:GridDateTimeColumn UniqueName="ShipDate" DataField="ShipDate" PickerType="DatePicker" HeaderText="Ship Date" DataFormatString="{0:D}" CurrentFilterFunction="EqualTo" DataType="System.DateTime" FilterListOptions="VaryByDataType" >
</telerik:GridDateTimeColumn>
SELECT StoreNumber,
       AO.BoothNumber,
       AO.ItemID,
       ItemDescription,
       CONVERT(VARCHAR,ShipDate,101) AS ShipDate, .....
Elliott
Top achievements
Rank 2
 answered on 08 Jun 2011
2 answers
60 views
Hi everyone,

I'm currently using a grid that allow the multi-selection. What I want is once the user clicks on ADD, all the selected data are add in a database. My problem is I can't find the value of the selecteds values. If "AllowMultiRowSelection" is set to false, it's simple, I just have to use the propriety selectedValue. But if many row are selected, this propriety will only return one selectedValue. I tried the propriety selectedValues, but it does the same. I read in the documentation that I can use a GridDataItem to access a row, but I don't know if it is the best solution. May someone help me ?

Thank you   
David
Top achievements
Rank 1
 answered on 08 Jun 2011
4 answers
69 views
I have a RadPanelBar with some of it's Items having RadListBoxes within their content templates. when I collapse the PanelBarItem, it does in fact collapse, but the RadListBox control remains visible until the collapse animation finishes, while some other form input controls (normal asp.net) like textboxes and drop down lists disappear as the collapsing animation occurs.

Any reason why this is happening? I am not setting any kind of higher z-index on the specific controls that seem to remain visible during the collapsing.

Issue seems to be isolated to just the RadListBoxes. I'm guesstimating this is related to a styling issue and/or the rendered structure of the ListBox control?

The issue is not a deal-breaker by any means; just a minor annoyance. Though I would love to get it resolved.
Paul J
Top achievements
Rank 1
 answered on 08 Jun 2011
6 answers
108 views
I'm following the instructions on:
http://www.telerik.com/help/aspnet-ajax/schedule_howtoexportingtoicalendar.html

to add the export feature to our online calendar already in production.  Per the instructions I've added the code block to the .ascx:
                <div style="text-align: right;"
                     <span style="cursor: pointer; cursor: hand;"
                     <asp:ImageButton runat="server" ID="Button1" ImageUrl="Outlook.gif" AlternateText="Export to iCalendar" 
                     CommandName="Export" OnClientClick="Export(this, event); return false;" /> 
                     </span> 
                </div> 

And the methods to my codebehind:
private void WriteCalendar(string data) 
        { 
            HttpResponse response = Page.Response; 
            response.Clear(); 
            response.Buffer = true
            response.ContentType = "text/calendar"
            response.ContentEncoding = Encoding.UTF8; 
            response.Charset = "utf-8"
            response.AddHeader("Content-Disposition", "attachment;filename=\"RadSchedulerExport.ics\""); 
            response.Write(data); 
            response.End(); 
        } 
 
        protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e) 
        { 
            if (e.CommandName == "Export") 
            { 
                WriteCalendar(RadScheduler.ExportToICalendar(e.Container.Appointment)); 
            } 
        }  

the button shows up, however when I click it I get:

"Microsoft JScript runtime error: Object expected" And it highlights the "Export(this, event); return false;" in here:
<input type="image" name="MasterCalendar1$RadScheduler1$ctl138$Button1" id="MasterCalendar1_RadScheduler1_ctl138_Button1" src="Outlook.gif" alt="Export to iCalendar" onclick="Export(this, event); return false;" style="border-width:0px;" /> 

I'm presuming this is because the Export() method hasn't been written in the .ascx as in the demo on the telerik site, however the instructions I was following do not mention this as necessary.

If this is the necessary code block:
<telerik:RadCodeBlock runat="server"
 
        <script type="text/javascript"
            function Export(sender, e) 
            { 
                $find("<%= RadAjaxManager1.ClientID %>").__doPostBack(sender.name, ""); 
            } 
        </script> 
 
    </telerik:RadCodeBlock> 

How do I change it to use it without the AjaxManager, I had to remove the AjaxManager to allow the calendar to work inside of sitefinity.






Peter
Telerik team
 answered on 08 Jun 2011
5 answers
164 views
Hi.

Is there a general process to check if a dotnetnuke installation has the correct set of files if you have overwritten the default telerik dll with the normal telerik dll?

We updated the dll version in the web and release configs but there are numerous small errors appearing. I was under the impression that all necessary files/scripts etc where contained within the dll.

Thanks in advance.

Chris
Iana Tsolova
Telerik team
 answered on 08 Jun 2011
1 answer
89 views
Hi Guys,

Is it possible to create a chart like the one attached? Some values need to be grouped by an 'owner'. It can be for example a chart of tasks of some type assigned to different users.
Evgenia
Telerik team
 answered on 08 Jun 2011
1 answer
67 views
Hello Telerik Team,

I have developed a Hierarchial RadGrid using the approach given here:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/detailtabledatabind/defaultcs.aspx

Then added 'Export to Excel' functionality to the grid.
The code for the same is given here.

There are 2 issues with 'Export to Excel' functionality
1. 'Export to Excel' button when clicked first time works fine. But when I click it again, it does not work.
2. Data is exported only for the first level, not for the hierarchy tables.

<asp:Button runat="server" ID="Button1" OnClick="Button1_Click" Text="Export to Excel" />
protected void Button1_Click(object sender, EventArgs e)
       {
           ConfigureExport();
            
           RadGrid1.MasterTableView.ExportToExcel();
       }
       public void ConfigureExport()
       {
           RadGrid1.ExportSettings.ExportOnlyData = true;
 
       }
Please provide solution asap
Princy
Top achievements
Rank 2
 answered on 08 Jun 2011
1 answer
159 views
When i enable AllowFilterByColumn in RadGrid and custom paging with NeedDataSource.  I have a problem which is filter is ok but paging of RadGrid is show wrong. If i dont use AllowFilterByColumn Paging is ok. But when i use AllowFilterByColumn Paging will show wrong Please help me. Thanks. This is my code : 
 
protected void RgProductNeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{           
int startRowIndex = rgProduct.CurrentPageIndex * rgProduct.PageSize;        
        
int totalRows;            
        int maximumRows = rgProduct.PageSize;          
        var pageIndex = startRowIndex / maximumRows;          
        rgProduct.DataSource = _datacontext.Products.Page(pageIndex, maximumRows, p => p.ProductCode,
true, out totalRows);

 
Pavlina
Telerik team
 answered on 08 Jun 2011
2 answers
89 views
Hi,
I've localized RadEditor DialogBox and set CdnSettings-TelerikCdn="Disabled" of RadScriptManager and RadStyleSheetManager.
But when I watch the requests with FireBug it connects to telerik website.
And when internet is not connected the style of dialogs is disassembled.
Actually Telerik.Web.UI.DialogHandler.axd refers to telerikstatic.com.
Mehrdad
Top achievements
Rank 1
 answered on 08 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?