Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
Hello,

Quick question... on this example:
http://demos.telerik.com/aspnet-ajax/rotator/examples/livexml/defaultcs.aspx

How can i format the date in the code block?

Thanks for any help
Fiko
Telerik team
 answered on 26 Aug 2009
4 answers
338 views
Hello,
I am successfully setting the value of a RadTextBox in javascript using the set_value() method.  However, my values doesn't persist through postback.  Is there  a way to make this happen?  I can be flexible with my approach if need be.

Thanks!
Sebastian
Telerik team
 answered on 26 Aug 2009
6 answers
424 views
Hello Sir,


 In radgrid is it possible to clear the filter expression value client
side. i'm getting the filter expression value client side,
how could we clear the filter expression in client side.

can we clear the filter value entered be cleared through
the script.

 when filtering using the special characters for filtering its
creating error.

Give me a solution


Thanks in advance
Unni
Tsvetoslav
Telerik team
 answered on 26 Aug 2009
1 answer
100 views
Hi
   if you browse this Url
http://demos.telerik.com/aspnet-ajax/toolbar/examples/clientside/addremovedisableitems/defaultcs.aspx
Using IE 8 with compatibility off   (Click Tools Menu-> uncheck Compatibility View)
 and click on "Disable Last toolbar item button" , you will find that on disable the last toolbar item Icon is blurred and has drop shadow where if you browse in any other browser or turn compatibility on , it wont blur nor will drop shadow.
The toolbar I am using in my application mostly contains Icons with 20X20px without text so when they get disabled they get horrible .

Any Solution would be highly appreciated.

Best Regards
Rizwan Bashir


Alex Gyoshev
Telerik team
 answered on 26 Aug 2009
4 answers
165 views
I have a radcombobox that is following the examples on how to create one that has multiple columns.

The first issue I am having is that when I select an item and it does an autopostback, the selected item is not sticking. It just goes back to the first item in the list. What magic dust do I need to sprinkle to make the selected item stick?

Secondly, in the selectedIndexChanged event handler I look at ddl.SelectedItem.value and it shows it as a string that is set to "DataRowView". I have tried all kinds of ways to cast it to a datarow view with no luck. Below is the aspx code.
Do I need to parse the selectedtext property by hand?
Any help would be really appreciated.
Thanks ... Ed
            <telerik:RadComboBox ID="ddlVoucher" runat="server" Skin="Vista" Width="420"   
            HighlightTemplatedItems="true" AutoPostBack="true" CausesValidation="false" > 
                <HeaderTemplate> 
                  <table style="width: 415px; text-align: left">  
                    <tr> 
                       <td style="width: 60px;">Voucher #</td> 
                       <td style="width: 250px;">Vendor/Staff</td> 
                       <td style="width: 80px;">Due Date</td> 
                       <td style="width: 80px;">Invoice #</td> 
                       <td style="display:none">VoucherId</td> 
                    </tr> 
                  </table> 
                </HeaderTemplate> 
                <ItemTemplate> 
                  <table style="width: 415px; text-align: left">  
                    <tr> 
                       <td style="width: 60px;">  
                           <%#DataBinder.Eval(Container.DataItem, "VoucherNumber")%> 
                       </td> 
                       <td style="width: 250px;">  
                           <%#DataBinder.Eval(Container.DataItem, "VendorOrStaff")%> 
                       </td> 
                       <td style="width: 80px;">  
                           <%#DataBinder.Eval(Container.DataItem, "DueDate")%> 
                       </td> 
                       <td style="width: 80px;">  
                           <%#DataBinder.Eval(Container.DataItem, "InvoiceNumber")%> 
                       </td> 
                       <td style="width: 0px;">  
                           <%#DataBinder.Eval(Container.DataItem, "PaymentVoucherId")%> 
                       </td> 
                    </tr> 
                  </table> 
                </ItemTemplate> 
                  
 
            </telerik:RadComboBox> 


    Protected Sub ddlVoucher_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemEventArgs) Handles ddlVoucher.ItemDataBound  
        e.Item.Text = _ 
        (DirectCast(e.Item.DataItem, DataRowView))("VoucherNumber").ToString() & "; " & _  
        (DirectCast(e.Item.DataItem, DataRowView))("VendorOrStaff").ToString() & "; " & _  
        (DirectCast(e.Item.DataItem, DataRowView))("DueDate").ToString() & "; " & _  
        (DirectCast(e.Item.DataItem, DataRowView))("InvoiceNumber").ToString() & "; " & _  
        (DirectCast(e.Item.DataItem, DataRowView))("PaymentVoucherId").ToString()  
 
        'e.Item.Text = _ 
        '(DirectCast(e.Item.DataItem, DataRowView))("VoucherNumber").ToString() & "; " & _  
        '(DirectCast(e.Item.DataItem, DataRowView))("VendorOrStaff").ToString()  
 
    End Sub  
 

Ed Staffin
Top achievements
Rank 1
 answered on 26 Aug 2009
1 answer
81 views
It seems you have to select a row in a grid before it can be dragged (to another grid).

This differs from the tree control where it can be click-dragged without having to actually click and release first.

Is there a way to enable dragging a grid row without having to click and release to select it first?

Thx
Rosen
Telerik team
 answered on 26 Aug 2009
2 answers
236 views
Hi, I have the following scenario/code and I'm looking for a solution to this problem or a different way of doing it entirely!

I need a page with a number of tabs, each tab should display a question (Label) and an answer (RadEditor). The number of questions can vary so I need a way of doing this dynamically. Currently I have solved this problem by using a user control with the Label and RadEditor and loading this dynamically when (a) the page is loaded and !isPostBack (b) the radTab tabClick event fires.

My problem now is that if a user were to edit the text in the radEditor for Question 1 (for example) then clicks the tab for Question 2, the modified answer is lost. I need a way of either saving this answer to the database when the tabstrip is clicked or at least storing it as a session variable. This would be straight forward if only I could find a way to access the radEditor of Question 1 once the tab for Question two has been clicked!

When the tab is clicked the Page_Load method fires first then the tabClick event fires, so I have been using the following code:

When the page is first loaded (!isPostback):
ASP.Question question = new ASP.Question();  
question.LoadControl("./Question.ascx");  
question.ID = "question1";  
question.questionNumber = 1;  
question.questionTable = questionTable;  
 
RadMultiPage1.FindControl("RadPageView1").Controls.Add(question);  
Session["Current Question"] = 1; 

on PostBack:
int currentQuestion = Convert.ToInt32(Session["Current Question"]);  
Type type = sender.GetType();  
ASP.innovation_project_aspx myPage = sender as ASP.innovation_project_aspx;  
RadMultiPage rmp = myPage.FindControl("RadMultiPage1"as RadMultiPage;  
RadPageView rpv = rmp.FindControl("RadPageView" + currentQuestion) as RadPageView;  
ASP.Question aspq = rpv.FindControl("question1"as ASP.Question;  
RadEditor re = aspq.FindControl("RadEditor1"as RadEditor;  
 
I have tried various similar ways of doing this and they always fail as when debugging, the RadMultipage, rmp, is always null even though the Type, type, is an ASP.innovation_project_aspx as expected. I think I could be doing this totally wrong but my mind is now locked on this method!

Any solutions or alternate ideas would be greatly appreciated, I can try and explain further or post more code if required. Thanks in advance.
Greg
Top achievements
Rank 1
 answered on 26 Aug 2009
4 answers
140 views

Following is the two programs schedule and I want to show as described in image bellow

http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Existing.png
http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Requirement.png

Program Schedule:

    1.  Program A (Start:4:05AM End:04:25AM)
    2.  Program B (Start:4:26AM End:04:40AM)

Currently the give control is displaying information as bellow:

http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Existing.png
But I want it should be displayed as follows:

http://cid-d94cba5d3ede6058.skydrive.live.com/self.aspx/EPG/Requirement.png

Alex Gyoshev
Telerik team
 answered on 26 Aug 2009
6 answers
272 views
Hi 
    I have used Rad ASP.NET AJAX Menu, but it's not working on Internet Explorer 8 or  firefox. please give your reply as early as posible.

Thanks

 
Alex Gyoshev
Telerik team
 answered on 26 Aug 2009
1 answer
89 views
Hi,

I have upgraded the telerik Controls in my application with the latest version.

I am facing few issues since then.

The following Client call is not working:

function RefreshGrid(arg)
    {
        window["<%#m_UINews.ClientID %>"].AjaxRequest('<%# m_UINews.UniqueID %>', '<%#REBIND_ARG %>');
    }

m_UINews is a RadGrid Control.

I am getting the following error while running:

function RefreshGrid(arg)
    {
         window[""].AjaxRequest('', '');
    }

Please help me if i need to change some properties or methods in the client side call to correct this.

Thanks and Regards,
Damodar
Georgi Tunev
Telerik team
 answered on 26 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?