Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
Hi,

I have an asp .net web application with the extensive usage of RADGrid. Ours is a financial website and we are using grids to show all financial information. As part of our enhancement, we have been asked to export the records in the grid to quicken format (.qif). Is this supported by Telerik? If not, what can be done to achieve this with the presence of telerik grid?

Regards,
Kishan G K
Daniel
Telerik team
 answered on 28 Feb 2011
3 answers
150 views

Hi,

I am exporting RadGrid Data to PDF. In that I required to insert lines horizontally and vertically. And have to make some text bold etc.

I Need help on this issues.

Can you please give me some samples?

Thanks & Regards
Kannan
Daniel
Telerik team
 answered on 28 Feb 2011
4 answers
113 views

Hi, I'd like to know if there is a a method to get the total working time of the day, which is the beginning of the first appointment to the end of the last appointment of the day (including possible pauses between them as work time)

On Day view, i found it easy to get this with client-side scripting, looping though scheduler.appointments, and then inserting it as dom node in the header

However, i can't find how to do this in the week view.

My client do not want to use Month and TimeLine view now but, if possible, I'd like to know how to do this for them too

Thank you very much in advance.

Regards,

Andre

André
Top achievements
Rank 1
 answered on 28 Feb 2011
1 answer
123 views
I have a javascript component that is sitting inside a RadPane that can be resized using a RadSplitter.

The component needs to redraw at the appropriate size, when the splitter resizes the pane.

What I need to do is to connect a javascript function as an event handler to the splitter, or the pane, to handle resize events - in javascript.  Given the circumstances, I need to connect a dynamically-constructed function, I can't simply set the name of a function in the markup.

The examples I've seen always set attributes in the markup: OnClientResized="panelResized", where "panelResized" is the name of a function in the global namespace.  In my case, this won't work.

How do I set a javascript function object to be an event handler, with RadPane or RadSplitter?
Jeff
Top achievements
Rank 1
 answered on 28 Feb 2011
3 answers
1.2K+ views
Hi,

I have an application that has just been upgraded to the latest ASP.NET AJAX controls.  I noticed that the following code:

radComboUseStat.Items.Clear();
radComboUseStat.Enabled = false;

does not really disable the dropdown.  It looks disabled, but if you click on it, it still opens and, because it is empty, if you click again, it produces an error.

It is definitely not disabled because I tried commenting out the first line, and I not only see my items in the dropdown (when I click on it), I can even select one!

Thanks,
Olga
Kate
Telerik team
 answered on 28 Feb 2011
1 answer
107 views

Hello,

I have a radgrid with a form template editform to do the updates. In this editform there is a radtextbox. To change the value of this radtextbox, I use a Radwindow. When the radwindow is closed, the selected value from the radwindow is sent to the radtextbox on the parent page. So the radtextbox in the form template editform has now the new value.

I use javascript:

function GetGridServerElement(serverID, tagName)
{
    if (!tagName)
        tagName = "*";
          
    var grid = document.getElementById("<%=RadGrid1.ClientID %>");
    var elements = grid.getElementsByTagName(tagName);
    for (var i = 0; i < elements.length; i++)
    {
        var element = elements[i];
        if (element.id.indexOf(serverID) >= 0)
            return element;
    }
  }
 
function clientShow(sender, EventArgs)
       {
    var radtextbox = GetGridServerElement("radtextbox", "input");
               sender.argument = radtextbox.value;
       }
 
   function clientClose(sender,args)
       {        
         if (args.get_argument()!= null)
         {
             var radtextbox = GetGridServerElement("radtextbox", "input"); 
 radtextbox.value = args.get_argument();  
         }             
       }


But when I click the update button from my form template editform, the value isn’t saved to the database. The old value of the radtextbox in my database isn’t replaced by the new one.
Anyone a solution?
Thank you!

David De Backer
Top achievements
Rank 1
 answered on 28 Feb 2011
2 answers
130 views
I have two radcomboboxes. When radcombobox VendorType SelectedIndex fires, radcombobox Vendor is then populated in code by the value chosen in VendorType . Radcombobox Vendor loads fine in code until I add the properties for MarkFirstMatch, EnableLoadOnDemand, and EnableTextSelection to radcombobox Vendor .  If I add these properties to the aspx page, then the radcombobox Vendor does not get loaded with the correct values on the selectedindexchange of radcombobox VendorType. If I do it in code after the radcombobox Vendor has done the binding or during the binding, radcombobox Vendor still does not get loaded with the correct values.

ASP.NET
<tr>
   <td>
       <asp:Label ID="Label25" runat="server" Text="Vendor Type: "></asp:Label>
   </td>
   <td>
       <telerik:RadComboBox ID="ddlVendorTypes" runat="server" SelectedValue='<%# Bind("RoleTypeCode") %>'
         DataSourceID="SqlDataSourceVendorTypes" DataTextField="Name" DataValueField="RoleTypeCode"
         AutoPostBack="true"  TabIndex="6" MarkFirstMatch="true" EnableLoadOnDemand="true"
         EnableTextSelection="true" onselectedindexchanged="ddlVendorTypes_SelectedIndexChanged">
      </telerik:RadComboBox>
   </td>
</tr>
<tr>
   <td>
      <asp:Label ID="Label6" runat="server" Text="Vendor: "></asp:Label>
   </td>
   <td>
      <telerik:RadComboBox ID="ddlVendors" runat="server" TabIndex="8">
     </telerik:RadComboBox>
   </td>
 </tr>

Binding Code
protected void ddlVendorTypes_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
    GridEditableItem editedItem = (o as RadComboBox).NamingContainer as GridEditableItem;
    RadComboBox ddlVendors = editedItem.FindControl("ddlVendors") as RadComboBox;
    RadComboBox ddlVendorTypes = editedItem.FindControl("ddlVendorTypes") as RadComboBox;
    VendorBinding(ddlVendors, ddlVendorTypes.SelectedValue);
}
private void VendorBinding(RadComboBox ddlVendors, string VendorType)
{
    if (SqlDataSourceVendors.SelectParameters.Count > 0)
        SqlDataSourceVendors.SelectParameters.RemoveAt(0);
    SqlDataSourceVendors.SelectParameters.Add("RoleTypeCode", VendorType);
    ddlVendors.DataSource = SqlDataSourceVendors;
    ddlVendors.DataTextField = "Name";
    ddlVendors.DataValueField = "PartyRoleID";
    ddlVendors.DataBind();
}


Roger
Top achievements
Rank 1
 answered on 28 Feb 2011
1 answer
80 views
I am having a problem with anchors and bulleted links specifically in Internet Explorer. I can reproduce using the Telerik demo at:

http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx

Steps (using IE8):

- Create 4 bullet points and give each some text
- Select the text using the mouse in the second bullet point and insert a link and point it to http://www.google.com

The bullet as well at the text becomes part of the link and view source shows the following (note the anchor is outside the li rather than within it):

<ul>
    <li>link 1</li>
    <a href="http://www.google.com">
    <li>link 2</li>
    </a>
    <li>link 3</li>
    <li>link 4</li>
</ul>

The problem is IE selects a space after link 2 when you let go of the mouse when inserting the anchor even though there is no space to select. If you select 'link 3' without the space (put the cursor before the l and shift +right arrow to only select the text) and insert the same anchor again, you get the following correct code:

 <li><a href="http://www.google.com">link 3</a></li>

I guess this is an IE issue as it does not happen in chrome or firefox. That said, is this a known issue and is there any workaround as shift selecting is not ideal?

Many thanks
Rumen
Telerik team
 answered on 28 Feb 2011
13 answers
756 views
Hi,

Iam using a Rad Splitter with left pane,Splittrebar and Content pane.The Content pane takes sometime to load the pages.So we would like to put a ajax loading panel to show the page is just loading.

I checked in the following link
http://www.telerik.com/help/aspnet/ajax/ajxshowloadingpaneloninitialpageload.html

But the problem is the ajax laoding image doesn't show up until the page is loaded.Once after the page is laoded it shows the image and the page loads again

I have two requirement
1) The ajax laoding panel should be available for initial page load
2) The ajax loading panel should be visible for content pane when the user clicks the links on the left pane.

Thanks and Regards
V.Balamurali
Dobromir
Telerik team
 answered on 28 Feb 2011
7 answers
182 views
Following the instructions on the website, I am generating the XML below, but the control refuses to load it
The control says the error is at line 215, which corresponds to the bold section below.

Essentially I am trying to create 3 parent items, 1 of which has 1 item with a sub-menu item within it.

I am loading the XML into an XMLDocument to validate the structure, so I don't understand what the problem is.


<Menu>
<Group Text='Home' URL='#'></Group>
<Group Text='Corporate' URL='#'>
    <Item Text='child page 1' URL='PageView.aspx?ContentId=2'>
  <Group>
       <Item Text='page level 2' URL='PageView.aspx?ContentId=3'/>
  </Group>
</Item>
</Group>
<Group Text='Tools' URL='#'></Group>
</Menu>

Thanks,

Morgan
Morgan
Top achievements
Rank 1
 answered on 28 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?