Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
59 views
Hello,
How can edit with double click in DetailsTable?

thanks andy
Shinu
Top achievements
Rank 2
 answered on 29 Oct 2010
0 answers
135 views
Dear Telerik,

Can you please help me, I would like to bind repeater with the web service data.

I have Webservice called "WeBarterAus" in my WebReferences Folder

I have the function below done, but someting has missing and I couldn't figure out what it is.
So it not showing up the repeater at all.
<asp:Repeater ID="repTransHistory" runat="server" 
                    onitemdatabound="repTransHistory_ItemDataBound" >
                <HeaderTemplate>
                    <table style="border-width: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; background-color: #d5d5d5; padding: 0px; margin: 0px; border-spacing: 0px; width: 100%;">
                    <tr>
                    <td><b>Date</b></td>
                    <td><b>Description</b></td>
                    <td><b>Sale Amount<b></td>
                    <td><b>Bonus Points<b></td>
                    <td><b>Points Redeemed<b></td>
                    </tr>
                </HeaderTemplate>
                <ItemTemplate>
                <tr style="background-color: #FFFFFF">
                <td><b></b>
                 </td>
                  <td></td>
                <td></td>
                <td><b></b></td>
                <td><b></b></td>
                </tr>
                 
                  
                  
                <tr><td colspan="5"></td></tr>
                </ItemTemplate>
                <FooterTemplate><tr><td colspan="5" style="font-weight: bold; text-decoration: underline; font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #FF0000;">
                <table width="100%"><tr><td>Total Results:</td><td align="right">Last Updated: <asp:Label ID="lblLastUpdated" runat="server" Text=""></asp:Label></td></tr></table>
                         </td></tr></table></FooterTemplate>
                </asp:Repeater>
private void ShowResultInRepeater()
       {
           string xmlReader = "";
           DataSet ds = new DataSet();
           WebbarterAUS.AUS MemberRewardHistory = new WebbarterAUS.AUS();
           xmlReader = MemberRewardHistory.RewardTransactionHistory("6220430100317744");
           //ds.WriteXml(xmlReader);
           repTransHistory.DataSource = xmlReader;
           repTransHistory.DataBind();
       }

I hope anyone can help me with this.

Thank you
vikas
Top achievements
Rank 1
 asked on 29 Oct 2010
7 answers
477 views
I have an aspx page with many controls that cause a post back, which in turn uploads any files listed in the Upload Aysnc Control. Is there a way to specify which button to control the async upload that will send the file?

Thank you.
rei
Top achievements
Rank 1
 answered on 28 Oct 2010
1 answer
55 views
Hi I have created a Listview from a EntityDatasource using All properties.
When I want use insert in listview also want to set some properties programmatically in the

ListView1_ItemInserting(

 

object sender, ListViewInsertEventArgs e)

 

event.

Things I want to set is for example, chanheddate, and some other properties which I removed from the template that was created.
How do I reach the entity properties? I cant find a way todo this.
Rickard
Top achievements
Rank 1
 answered on 28 Oct 2010
0 answers
63 views
I swapped the buttons for the toolbar. But the space key does not invoke the event.

How can I fix this?
Rudá Cunha
Top achievements
Rank 2
 asked on 28 Oct 2010
6 answers
149 views
While researching the client API, I discovered the GridTableView.groupColumn(uniqueName) method.  However, this method only works with a single column.  Calling it a second time overrides the group put in place by the previous call of this method instead of adding another group.  Anyone know of a way to group multiple columns on the client side?

(Same problem with GridTableView.filter and GridTableView.sort -- How do I apply multiple column filters?)
Trevor
Top achievements
Rank 1
 answered on 28 Oct 2010
1 answer
68 views
Hi Telerik,

i am facing an ie 7 issue in drop down radmenu control.
The drop down menu is going back side...
i am attaching a screen shot of my ie 7 issue
Yana
Telerik team
 answered on 28 Oct 2010
4 answers
251 views
Hi, I've been creating a page that utilizes 2 Rad controls. A Rad calendar set up in a multi-month view (CalendarSlider) and a Rad Scheduler (TheScheduler). I've been trying to create an interaction where when clicking on a day in the CalendarSlider will cause TheScheduler to change from a MonthlyView (as it is initialized that way) to a DayView.

So far I have been able to capture the CalendarSlider_SelectionChanged event and retrieve the date the user wishes to navigate to. The problem I'm coming across is when I set the values for TheScheduler to change to a DayView and to navigate to the selected date it does not work.

Normally this isn't something that would be desired as it would be much simpler to pull down the calendar that is already built into the scheduler and change the page, but unfortunately these are my requirements.

Here's what my method is looking like currently:

void CalendarSlider_SelectionChanged(object sender, SelectedDatesEventArgs e)
{
    RadDate selectedDay = e.SelectedDates[0];
    TheScheduler.SelectedDate = selectedDay.Date;
    TheScheduler.SelectedView = SchedulerViewType.DayView;
    RadCalendar radPopupCal = TheScheduler.FindControl("SelectedDateCalendar") as RadCalendar;
    radPopupCal.SelectedDate = selectedDay.Date;
    radPopupCal.ShowOtherMonthsDays = true;
    radPopupCal.FocusedDate = selectedDay.Date;
}


Once the page returns from its postback TheScheduler does not update and I'm not sure why...
Brian King
Top achievements
Rank 1
 answered on 28 Oct 2010
4 answers
80 views
Hello,
In a page, I have one radgrid and one panel for edit form
    <telerik:RadGrid ID="listCompany" runat="server"   AllowMultiRowSelection="false" PagerStyle-AlwaysVisible="true"
        OnItemCreated="RadGrid1_ItemCreated">
        <MasterTableView AutoGenerateColumns="false" DataKeyNames="Id">
            <Columns>
                  ........
            </Columns>
        </MasterTableView>
        <ClientSettings EnableRowHoverStyle="true" />
    </telerik:RadGrid>
 
<asp:Panel ID="editForm" runat="server">
    .......
</asp:Panel>

And my Ajax Setting
protected void Page_Load(object sender, EventArgs e)
{
    RadAjaxManager radAjaxManager = Page.Master.FindControl("radAjaxManager") as RadAjaxManager;
    RadAjaxLoadingPanel radAjaxLoaingPanel = Page.Master.FindControl("radAjaxLoadingPanel") as RadAjaxLoadingPanel;
    radAjaxManager.AjaxSettings.AddAjaxSetting(listCompany, listCompany, radAjaxLoadingPanel);
}
protected void RadGrid1_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
   RadAjaxManager radAjaxManager = Page.Master.FindControl("radAjaxManager") as RadAjaxManager;
   RadAjaxLoadingPanel radAjaxLoaingPanel = Page.Master.FindControl("radAjaxLoadingPanel") as RadAjaxLoadingPanel;
   LinkButton editLink = (LinkButton)e.Item.FindControl("LinkEdit");
   radAjaxManager.AjaxSettings.AddAjaxSetting(editLink , editForm, radAjaxLoadingPanel);
 }


If I click on one row in the grid, the edit form show, everything ok. But if I do sorting then click one row in the grid. The overlay of edit form can't be hidden.

Can anybody help me!
Many many thanks
Thien
Top achievements
Rank 1
 answered on 28 Oct 2010
3 answers
103 views

Folks,

I am using Radgrid Q2 2010 for asp.net ajax and vstudio 2008 sp1.
Using  this example:  hierarchy grid, my question is it how can I put today's date as rundate in mm/dd/yyyy format in each page footer while exporting to PDF. Thanks

gc_0620

Daniel
Telerik team
 answered on 28 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?