Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
280 views

I want to set a skinid for only raddatepicker and raddatetimepicker.

As per the documentation, it is possible to specify not only the global value for skin but per control skin values

<appSettings>
   
<add key="Telerik.Skin" value="Hay" />
   
<add key="Telerik.Menu.Skin" value="Sunset" />
   
<add key="Telerik.ComboBox.Skin" value="Sunset" />
</
appSettings>

So what should I code for RadDatePicker and RadDateTimepicker.

I have tried

<

 

add key="Telerik.Calendar.Skin" value="Outlook" />
and

 

<

 

add key="Telerik.RadDatePicker.Skin" value="Outlook" />
and

 

<

 

add key="Telerik.RadDateTimePicker.Skin" value="Outlook" />

but none of these settings have worked.

 

Dimo
Telerik team
 answered on 01 Jul 2009
2 answers
126 views
Hi,

I have Radupload and radprogress Area on my page.
When i have files of less than 5mb on localhost everything works fine, file is uploaded on localhost

But when i have a file > 5mb (so Radprogress is enabled), i have a internet explorer error page unable to display the page dont know what the exact message is in english.

And in the url there is : http://localhost:42002/BAD.UI/myPage.aspx?RadUrid=44de4f72-fd17-4ced-8b8e-75d150ec3c42
And i dont get to anybreakpoint on code.

When the file is > 5mb, there is no postback anymore when i click on the button, i cant even access to my "breakpoints" on page_load().


How can i resolve this?

Tgaud
Top achievements
Rank 1
 answered on 01 Jul 2009
2 answers
109 views

Hi Telerik Team,

    
 I am using  RadFile Upload, i cant able to set the file name property of the radupload,because it is read only. but my situation is i have multiple rad upload to upload multiple files. here i have all my files which have to be uploaded in the same path. so what i need is when user browse for the first file in the first rad upload i want the other radupload filename to be filled automatically For eg: in tab file upload when user browses the tab its supporting files which are at the same location have to be automatically filled at the filenames of the other radupload.

Mukunda
Top achievements
Rank 1
 answered on 01 Jul 2009
1 answer
386 views
Hi

Its Shrawan from a:m web, We have been using the rad controls from past 2 and half yrs, 

And for some reasons we are now shifting all our projects i to new server where the sitefinity projects are all working fine, But when comes to one project (http://www.gco2.ie/) in the existing server (You can click and navigate through this , ) coming to newer server (http://217.114.162.121/gco2/index.aspx) its giving configuration error saying

"Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified" 

Line 36: 				<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 37: 				<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 38: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 39: 			</assemblies>
Line 40: 		</compilation>


Source File: E:\Inetpub\wwwroot\gco2\web.config    Line: 38

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



Can anybody help me in this regard, because we need to get redirect to newer location soon

Thanks in advance
regards
Sravan Kumar T
Sebastian
Telerik team
 answered on 01 Jul 2009
1 answer
112 views
I followed the instructions on deploying RadEditor to a server farm using the stsadm tool.  However, I can only get "RadEditor to edit List Items" to work on 1 out of 3 servers in the farm.  The SP administrative panel says that the deploy seceded and the RadEditor web part works on all three.  I have rebooted and restarted IIS but the default SP editor shows up on two of the three servers.

I have feature definitions for RadEditorFeatureIE and RadEditorFeature on the servers that are not working. 

Where I should start the debugging process to try to figure out why it is not working?
Stanimir
Telerik team
 answered on 01 Jul 2009
2 answers
98 views
Hi

I am creating the webpart in share point
I am having the the Rad schedular in side the Ajax Panel.Every thing is working fine
I need to acheive the same functionality like this(export to icalandar)
http://demos.telerik.com/aspnet-ajax/scheduler/examples/export/defaultcs.aspx.
I tried to export the individual events, at the time i got the error.Because individual item export image button inside the Ajax panel.I need to exclude this image button from Ajax inside the share point.How can i do this?

Here is my code

 public class AppTemplate : ITemplate

    {
        private DataTable dtfinalResult = new DataTable();
        private ScriptManager _ScriptManager;
        public AppTemplate(DataTable dtResult, ScriptManager ScriptManager)
        {
            dtfinalResult = dtResult.Copy();
            _ScriptManager = ScriptManager;
        }
       
        public void InstantiateIn(Control container)
        {
            ImageButton imgexport = new ImageButton();
            imgexport.CommandName = "Export";
            imgexport.ImageUrl = "/_layouts/images/smallOutlook.gif";
            imgexport.Width = new Unit(20);
            //Exclude from the Ajax
            //_ScriptManager.RegisterPostBackControl(imgexport);
            //imgexport.Attributes.Add("onclick", string.Format("realPostBack(this, \"\"); return false;"));
                //container.Controls.Add(imgexport);
            Literal subject = new Literal();           
            subject.DataBinding += subject_DataBinding;           
            container.Controls.Add(subject);
            CalendarPlus calendarplus = new CalendarPlus(); 
           
       
        }

        private void subject_DataBinding(object sender, EventArgs e)
        {
            Literal subject = (Literal)sender;
            IDataItemContainer aptContainer = (IDataItemContainer)subject.BindingContainer;

            //Access the appointment object and set its AllowEdit property:
            SchedulerAppointmentContainer aptCont = (SchedulerAppointmentContainer)subject.Parent;
            Appointment app = aptCont.Appointment;
            int APPID = int.Parse(app.ID.ToString());
            app.AllowEdit = false;
            DataView dvFinalresult = dtfinalResult.DefaultView;
            dvFinalresult.RowFilter = "FieldID=" + APPID;
            DataTable dtCurrentApp = dvFinalresult.ToTable();
            DateTime dtevent = DateTime.Parse(dtCurrentApp.Rows[0]["EventDate"].ToString());
            string strSubject = HttpUtility.HtmlEncode((string)DataBinder.Eval(aptContainer.DataItem, "Subject"));
            if (dtCurrentApp.Rows.Count > 0)
            {
                subject.Text = "<span id=\"spanID\" curDivDate=\"" + dtevent.ToString().Replace("/","_").Replace(" ","_")+ "\" title='' onmouseover=\"wsc_showmenu(this); return false\" ><A  HREF=\"javascript:void(window.open('" + dtCurrentApp.Rows[0]["URL"].ToString().Trim() + "'))\">" + strSubject + "</a></span>";
            }
            else
            {
                subject.Text = strSubject;
            }
        }
    }



Regards
Vairam
vairam
Top achievements
Rank 1
 answered on 01 Jul 2009
6 answers
130 views
Hi, can some ome help me.

I need to make an update once i select a row, i have a GridTemplateColumn as in Telerik Example (http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectrowwithcheckbox/defaultvb.aspx) and I need to update a database field (true/false) once is checked or unchecked. is there a way to do this?


<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn"
                            <HeaderTemplate> 
                             <asp:CheckBox id="headerChkbox" OnCheckedChanged="ToggleSelectedState" AutoPostBack="True" runat="server"></asp:CheckBox> 
                            </HeaderTemplate> 
                            <ItemTemplate> 
                                <asp:CheckBox id="CheckBox1" OnCheckedChanged="ToggleRowSelection" AutoPostBack="True" runat="server"></asp:CheckBox> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
 

here is how i am trying to make the update.

Protected Sub ToggleRowSelection(ByVal sender As ObjectByVal e As EventArgs) 
        CType(CType(sender, CheckBox).Parent.Parent, GridItem).Selected = CType(sender, CheckBox).Checked 
 
        Dim State As String = CType(RadGrid1.MasterTableView.Items(0).FindControl("CheckBox1"), CheckBox).Checked.ToString 
        If State = "True" Then 
            SqlDataSourceArticulos.UpdateParameters(0).DefaultValue = 1 
            SqlDataSourceArticulos.UpdateParameters(1).DefaultValue = RadGrid1.SelectedValues("Solicitud"
            SqlDataSourceArticulos.UpdateParameters(2).DefaultValue = RadGrid1.SelectedValues("NumPartida"
            SqlDataSourceArticulos.Update() 
        Else 
            SqlDataSourceArticulos.UpdateParameters(0).DefaultValue = 0 
            SqlDataSourceArticulos.UpdateParameters(1).DefaultValue = RadGrid1.SelectedValues("Solicitud"
            SqlDataSourceArticulos.UpdateParameters(2).DefaultValue = RadGrid1.SelectedValues("NumPartida"
            SqlDataSourceArticulos.Update() 
        End If 
        RadGrid1.Rebind() 
        CType(RadGrid1.MasterTableView.Items(0).FindControl("CheckBox1"), CheckBox).Checked = State 
    End Sub 

Pavlina
Telerik team
 answered on 01 Jul 2009
2 answers
128 views
Hi there, I just upgraded from last years Telerik Ajax to this years latest release. One item that no longer works is our tooltip inside the radgrid. Here is our simple html and a picture of the mess. The style is now bad the scrolling and content is too small and the bottom borders are messed up too.

Picture of issue

<telerik:GridTemplateColumn AllowFiltering="false"   
    HeaderStyle-Width="25px"     
    ItemStyle-Width="25px"   
    UniqueName="QuickViewColumn">  
<ItemTemplate> 
    <asp:HyperLink runat="server" ID="hl1" style="text-decoration:underline;       
        color:Blue;   
        cursor:pointer;">view  
    </asp:HyperLink> 
    <telerik:RadToolTip ID="rtt1" runat="server" 
          IsClientID="true"   
          Width="600"   
          Height="300"   
          Skin="WebBlue"   
          Position="TopRight"   
          RelativeTo="Element"   
          Sticky="true"   
          ContentScrolling="Y"   
          ShowCallout="false"   
          OffsetX="20" > 
      <%# DataBinder.Eval(Container, "DataItem.Content") %> 
  </telerik:RadToolTip> 
</ItemTemplate> 
</telerik:GridTemplateColumn> 
Svetlina Anati
Telerik team
 answered on 01 Jul 2009
3 answers
158 views
hi i have several files on the webserver.

i tried for example to open the file in a new RadWindow. But i dont know what to do/use to make the client able to download a file..

any ideas / best practices?

thanks mario
Stuart Hemming
Top achievements
Rank 2
 answered on 01 Jul 2009
3 answers
76 views
Hi Telerik Suport Team,

I'm facing a problem of using <form> in UserControl page. This page is included in <EditFormSettings> like below :

<

 

telerik:RadGrid runat="server" ID="rgAgencyUsers" GridLines="None" DataKeyNames="AgencyUserID" DataSourceID="LinqDataSource1" >

 

<

 

MasterTableView DataKeyNames="AgencyUserID" AllowMultiColumnSorting="True" CommandItemDisplay="Top">

 

 

<

 

Columns>

 

 

.......
 </Columns>
<EditFormSettings UserControlName="Inc/EditUsers.ascx" EditFormType="WebUserControl">

 

 

<EditColumn UniqueName="EditCommandColumn1"></EditColumn>

 

 

 

</EditFormSettings>
</MasterTableView>

 

 

</

 

telerik:RadGrid>

 

 

 


In EditUsers.ascx, I'm trying to use <form> to let user perform insert/update action automatically just by pressing Enter key to submit form (No need to click on Insert/Update button). But it throws Exception that I can't use <form> tag. I've reviewed examples of how using RadGrid but finding no example that has that solution.

Please help me to solve this problem.

Thanks a lot,
Huong Nguyen.

 

 

 

 

huong nguyen
Top achievements
Rank 1
 answered on 01 Jul 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?