Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
243 views
Hi,
  Is there any possibility to add two versions of the telerik dll in the same project.
Miguel
Top achievements
Rank 1
 answered on 29 Sep 2011
6 answers
225 views
Howdy,
I have used this Demo to setup a RadScheduler in an existing project.  Before I added the Advanced Templates as described in the demo, my one Resource (called "Group") was properly setting the value of a RadCombobox when you open the appointment.  Since the change, even though the combobox is created and populated correctly, the actual value will not bind.  Frustration level is fairly high right now as we're trying to integrate this into an existing project and every path I've taken i've run into a brick wall.

We're using a webservice local to the web application to call into another ASP.NET webservice to all the gets/saves/deletes, etc.  Had to jump through a bunch of hoops to make that happen.  I really need the abililty to make the custom templates work... can you please suggest something for me to try?

Best Regards.
Peter
Telerik team
 answered on 29 Sep 2011
2 answers
153 views
Hi, I spent many time to change the numeric symbol from Latin to Persian but i couldn't , can any one tell me how can i change them?
Thanks
Pooia
Top achievements
Rank 1
 answered on 29 Sep 2011
1 answer
113 views
This is my code.

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadSchedulerTemplate" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="RadSchedulerTemplate">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadSchedulerTemplate" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>

and vb code.

Dim app As Appointment = e.Appointment
Dim subject As String = app.Subject
Dim startDate As DateTime = app.Start
Dim endDate As DateTime = app.End
Dim recurrenceRule As String = app.RecurrenceRule
Dim recurrenceParentID As Integer = app.RecurrenceParentID
Dim description As String = app.Description
 
dbConnection.ConnectionString = ConfigurationManager.ConnectionStrings("Test").ConnectionString
dbConnection.Open()
dbCommand = dbConnection.CreateCommand
dbCommand.CommandType = CommandType.StoredProcedure
dbCommand.CommandText = "S_Test"
dbCommand.Parameters.Add("@Subject", SqlDbType.VarChar).Value = subject
dbCommand.Parameters.Add("@StartDate", SqlDbType.DateTime).Value = startDate
dbCommand.Parameters.Add("@EndDate", SqlDbType.DateTime).Value = endDate
If Not String.IsNullOrEmpty(recurrenceRule) Then
    dbCommand.Parameters.Add("@RecurrenceRule", SqlDbType.VarChar).Value = recurrenceRule
End If
If recurrenceParentID <> 0 Then
    dbCommand.Parameters.Add("@RecurrenceParentID", SqlDbType.Int).Value = recurrenceParentID
End If
If Not String.IsNullOrEmpty(description) Then
    dbCommand.Parameters.Add("@Description", SqlDbType.VarChar).Value = description
End If
 
dbCommand.ExecuteNonQuery()
RadSchedulerTemplate.Rebind()

So, Why does not rebind?
Plamen
Telerik team
 answered on 29 Sep 2011
0 answers
155 views



hi all :)

I have a list view, and I want to pass some parameters when index change

I take some ideas from this demo for list box

http://demos.telerik.com/aspnet-ajax/listbox/examples/functionality/relatedlistboxes/defaultcs.aspx


but I still have some thing that never converted with me to suit list view

here it is

protected void Page_Load(object sender, EventArgs e)
{
    RadListBox1.ItemDataBound += new Telerik.Web.UI.RadListBoxItemEventHandler(RadListBox1_ItemDataBound);
    RadListBox1.SelectedIndexChanged += new EventHandler(RadListBox1_SelectedIndexChanged);      
}


and here is the functions, they did well when I use it by index, so no problem with next code

void RadListBox1_SelectedIndexChanged(object sender, EventArgs e)
{
    #region Start mode customization via Web Query String
    int idx = 0;
    int auto = 0;
    string qry = "";
 
    try
    {
        qry = "auto";
        qry = (Request.QueryString[qry] == null) ? "" : Request.QueryString[qry];
        if (qry != "") { auto = int.Parse(qry); }
    }
    catch { }
 
    // Item index
    try
    {
        qry = "item";
        qry = (Request.QueryString[qry] == null) ? "" : Request.QueryString[qry];
        if (qry != "") { idx = int.Parse(qry); }
    }
    catch { }
    #endregion
    Literal1.Text = YouTubeScript.Get(RadListView1.SelectedItems[0].GetDataKeyValue("Video_Path").ToString(), auto, _W, _H);
    Label1.Text = RadListView1.SelectedItems[0].GetDataKeyValue("Video_Path").ToString();
}
 
 
protected void RadListView1_ItemDataBound(object sender, Telerik.Web.UI.RadListViewItemEventArgs e)
{
    Literal1.Text = YouTubeScript.Get(RadListView1.Items[0].GetDataKeyValue("Video_Path").ToString(), 0, _W, _H).ToString();
    Label1.Text = RadListView1.Items[0].GetDataKeyValue("Video_Description").ToString();
}
Hamza
Top achievements
Rank 1
 asked on 29 Sep 2011
1 answer
138 views
I've recently upgraded my Telerik.Web.UI dll (2011.2.915) and noticed that the "Transparent" skin is not available as a choice in my RadSkinManager.  Here is a quick video showing the available choices.  I have confirmed the dll in the project and cleared my cache.


Mira
Telerik team
 answered on 29 Sep 2011
1 answer
103 views
Following the rad upload example I can not get the bind results section to work for me.
Everything else is working fine, I can upload files.  As soon as I add the progress bar it crashes.

Private Sub BindResults()
        If Radupload1.UploadedFiles.Count > 0 Then
            labelNoResults.Visible = False
            reportResults.Visible = True
            reportResults.DataSource = Radupload1.UploadedFiles
            reportResults.DataBind()
        Else
            labelNoResults.Visible = True
            reportResults.Visible = False
        End If
    End Sub


Compiler Error Message: 
BC30451: Name 'labelNoResults' is not declared.

Source Error:

Line 20:     Private Sub BindResults()
Line 21:         If Radupload1.UploadedFiles.Count > 0 Then
Line 22:             labelNoResults.Visible = False
Line 23:             reportResults.Visible = True
Line 24:             reportResults.DataSource = Radupload1.UploadedFiles
Dimitar Terziev
Telerik team
 answered on 29 Sep 2011
3 answers
93 views
Hello,

                I have a aspx page with four ascx controls. In one of the control i have three buttons, one grid and one tree. i have used the radajaxmanagerproxy for ajax operation. In one of the button's clientclick function i called doPostBack function. The entire page is refreshed when i called the doPostBack function, ajax is not working in this situation. I am using radajaxmanager in my aspx page so i use radajaxmanagerproxy in my control for ajax. Radajaxmanager has only the property ajaxrequest.Please give the solution for this problem.

Thanks,
Velkumar.
Dimitar Terziev
Telerik team
 answered on 29 Sep 2011
5 answers
231 views
Hi,

I am new to the rad editor spell check control. i hava a requirement that i want to do the spell check in silent mode i.e when i click on the spell check button it will do the spell check without showing the modal dialog. how can i do this?

i checked in the telerik forum but i could not find the answer  for this.

Can anybody help on this?

Regards,
Karunakar.
Lini
Telerik team
 answered on 29 Sep 2011
3 answers
121 views

Hi,

I have a Client Side CustomValidator Control, Is there a way to access selected item's CityCode value from comboxbox's itemtemplate. using client side javascript
--JD
( Please advice, some easy workable workaround )

<telerik:RadComboBox ID="RadComboBox2" Runat="server" TabIndex="3"
                      DropDownWidth="320px"
                       HighlightTemplatedItems="true"
                         DataSourceID="EDSStateList" DataTextField="StateName"
                        DataValueField="StateCode" SelectedValue='<%# Bind("FK_StateCode") %>'>
                         <HeaderTemplate>
                          <ul>
                             <li class="col1">StateName</li>
                             <li class="col2">CityName</li>
                             <li class="col3">CityCode</li>
                         </ul>
                         </HeaderTemplate>
  
                         <ItemTemplate>
                             <ul>
                                 <li class="col1">
                                     <%# DataBinder.Eval(Container.DataItem, "StateName")%></li>
                                 <li class="col2">
                                     <%# DataBinder.Eval(Container.DataItem, "CityName")%></li>
                                 <li class="col3">
                                     <%# DataBinder.Eval(Container.DataItem, "CityCode") %></li>
                             </ul>
                         </ItemTemplate>
  
                         <FooterTemplate>
             
                        </FooterTemplate>
  
                    </telerik:RadComboBox>
Vasil
Telerik team
 answered on 29 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?