Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
109 views
I'm currently using web service binding and have an advanced insert/update form. I would like to validate 'client side' if newly added appointment resources conflict with existing appointment resources before proceeding with the insert. I have this working, however NOT for recurring appointments,

The problem I have is that to query appointments in the range to be booked. I am using 

scheduler.get_appointments().getAppointmentsInRange(start, end); 

but this only returns a collection of all currently loaded appointments.
http://www.telerik.com/help/aspnet-ajax/scheduler-object.html. As the appointment being added could run beyond the currently loaded appointments this means that I cannot rely on the above method.

Is there a method for getting a list of appointments from the server without going through the scheduler so that I can query on an unrestricted range? Or is there a suggested technique for doing this? 
William
Top achievements
Rank 1
 asked on 29 Aug 2012
0 answers
94 views
Hi,
I have used RadAsyncUpload control to upload file But now i want  to show the link of of uploaded file at the time of Editing the record. but unable to thing in that direction from where I can get the file name which I have uploaded as Ihave not stored it in the DB.


Thanks 
Santosh
Top achievements
Rank 1
 asked on 29 Aug 2012
3 answers
162 views
I would like the input to originally appear empty, and only show the mask if the user begins entering a value.  If the user removes the value, the mask will again disappear.

Is this functionality possible with this control?
Vasil
Telerik team
 answered on 29 Aug 2012
1 answer
47 views
Hi all i have written a code to set selected row to edit mode when user selects yes from the radwindow. Here is my code

protected void rdbtnYes_Click(object sender, EventArgs e)
    {
        foreach (GridDataItem item in RadGrid2.MasterTableView.Items)
        {
            if (item.IsInEditMode && item is GridEditableItem)
            {
                if (item.OwnerTableView.IsItemInserted)
                {
                    item.Edit = true;
                }
            }
            //item.Edit = true;
        }
        RadGrid2.Rebind();
        rdwmdw1.Windows[0].VisibleOnPageLoad = false;
    }

This is my code for ItemDatabound event where I will show radiwnodw when necessary

protected void RadGrid2_ItemDataBound(object sender, GridItemEventArgs e)
    {
        int iPagecount = RadGrid2.MasterTableView.CurrentPageIndex;
        if (e.Item is GridDataItem)
        {
            if (iPagecount == 0)
            {
                if (e.Item.ItemIndex != 0)
                {
                    GridDataItem item = (GridDataItem)e.Item;
                    ImageButton imageButton = (ImageButton)item["imgEdit"].Controls[0];
                    imageButton.Visible = false;
                    //imageButton.ImageUrl = "images/MailOk.png";
                }
                else
                {
                    GridDataItem item = (GridDataItem)e.Item;
                    ImageButton imageButton = (ImageButton)item["imgEdit"].Controls[0];
                    imageButton.Visible = true;
                }
            }
            else
            {
                GridDataItem item = (GridDataItem)e.Item;
                ImageButton imageButton = (ImageButton)item["imgEdit"].Controls[0];
                imageButton.Visible = false;
 
            }
        }
 
        if (e.Item is GridEditableItem && e.Item.IsInEditMode)
        {
            GridEditableItem item = e.Item as GridEditableItem;
            mlocal_strStoredProcName = StoredProcNames.Gender_uspGenderGetList;
            oEmployeePersonalData.Select(out mlocal_ds, mlocal_strStoredProcName);
            Label lblStatus = (Label)item.FindControl("lblApprovalStatus1");
            if (lblStatus.Text == "Y")
            {
                if (!e.Item.OwnerTableView.IsItemInserted)
                {
                    Label LBL1 = (Label)item.FindControl("lblMaritalStatus");
                    RadComboBox rdcmbGender = (RadComboBox)item.FindControl("rdcbGender");
                    rdcmbGender.DataSource = mlocal_ds;
                    rdcmbGender.DataTextField = TablesAndColumns.tblGender_GenderDesc;
                    rdcmbGender.DataValueField = TablesAndColumns.tblGender_GenderTypeID;
                    rdcmbGender.SelectedValue = (string)DataBinder.Eval(e.Item.DataItem, "MaritalTypeID").ToString();
                    //rdcmbGender.SelectedValue = LBL1.Text;
                    rdcmbGender.DataBind();
 
                    mlocal_strStoredProcName = USADAO.StoredProcNames.PayFrequency_uspPayFrequencySelect;
                    oEmployee.FedTaxID = Session["FedTaxID"].ToString();
                    oEmployee.Select(out mlocal_ds, mlocal_strStoredProcName);
                    RadComboBox ddlPayFrequencytype = (RadComboBox)item.FindControl("rdcbPayFrequency");
                    ddlPayFrequencytype.DataSource = mlocal_ds;
                    ddlPayFrequencytype.DataTextField = "PayFrequencyDesc";
                    ddlPayFrequencytype.DataValueField = "PayFrequencyType";
                    ddlPayFrequencytype.DataBind();
                    ddlPayFrequencytype.Enabled = false;
                    mlocal_ds.Clear();
                    RadDatePicker radDtStartDate = item.FindControl("radDtStartDate") as RadDatePicker;
                    RadDatePicker radDtEndDate = item.FindControl("radDtEndDate") as RadDatePicker;
 
                    strDate = radDtStartDate.SelectedDate.Value;
                    EndDt = radDtEndDate.SelectedDate.Value;
                }
            }
            else
            {
                e.Item.Edit = false;
                rdwmdw1.Windows[0].VisibleOnPageLoad = true;
            }
        }
    }
Eyup
Telerik team
 answered on 29 Aug 2012
2 answers
74 views
We have been working to integrate with our client's Team Foundation Server source control. I am not familiar with this process but they believed that there should be a way to build the projects for deployment on a build machine without having to own a license themselves since they do not do the development. Is this possible?
Vasil
Telerik team
 answered on 29 Aug 2012
1 answer
80 views
hi,

I have rad time picker, and I have normal link button click event,
in this click event, I am trying to use $find method to select rad time picker, but always find method return null value, here is my test project link

(the link has been removed)
Vasil
Telerik team
 answered on 29 Aug 2012
11 answers
233 views
ASP.Net AJAX: Upload is rapidly becoming obsolete.

I have stopped recommending this product to clients and for our own internal projects.

Unless there are plans (real serious plans) to add Web Farm and Load Balancing support to ASP.Net AJAX: Upload by enabling a database or shared file system location for buffering and progress management, I will be abandoning ASP.Net AJAX: Upload.

I have spoken to a number of other users who are in the same boat.  The long-term problem we face is what to do with our Telerik subscriptions after we have stopped using the primary components. 

Replacing things like drop-downs with Open Source and paying for a one-component (but high quality) Upload widget seems like a better option.

Thoughts?  Does Telerik have enough resources to produce high quality individual control feature sets?  Or is the goal many pretty components with so-so features?
Genady Sergeev
Telerik team
 answered on 29 Aug 2012
1 answer
40 views
Hi,

For convenient, I always add every Bound Column's UniqueName to List of DataKeysNames. I wonder if,  under this scenario, will it ever cause any exception in anyway?
For example, my grid bind to a DataTable with Columns: FirstName, LastName, Age. Then I'll set the DataKeyNames property as FirstName, LastName, Age.

The reason I ask this is because somehow I got some strange exception and I'm not sure if it is related to the fact that I add every Bound Columns to DataKeyNames.

I heard that it may cause exception in the table has two or more identical rows, but I've tested and it didn't cause exception at all.

Thanks

Lamk.
Jayesh Goyani
Top achievements
Rank 2
 answered on 29 Aug 2012
3 answers
147 views

Hi there I'm having trouble with the following:

I have a web form that has a RadTabStrip and when you click on a tab a webusercontrol gets loaded dynamically. Inside this webusercontrol I have a read-only RadGrid. When I click on a row on this RadGrid another webusercontrol (a 2nd) gets loaded dynamically as well. But this time, this 2nd webusercontrol has an editable RadGrid in it.

PROBLEM:
The problem lies in this 2nd webusercontrol

When I click on the Insert linkbutton, the ItemCommand event fires (e.Command = InitInsert). The RadGrid enters into edit-form. Everything's OK. But when I click on the Update linkbutton, the ItemCommand event doesn't fire! (e.Command = PerformInsert).

Please can someone help me with this issue asap? or shed some light?

Felix

Radoslav
Telerik team
 answered on 29 Aug 2012
4 answers
488 views
I want to remove the window icon in my custom skin. I can hide the icon in the style sheet but i also need to left align the title text, but there appears to be a table cell (where the icon was?). Is there a way to do this?
Thein
Top achievements
Rank 1
 answered on 29 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?