Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
119 views
Hi,

Hi friend this shanker .Am doing one project  by using telirik controls .It,s fine But my requirement is sms application.I don't know of about that .Please  help me of that requirement  how to do that i think it,s need to web services. how to do that and any sample any solutions pleaser send me p[lease help me it's argent , i complete in  3 days only please help me friends

thanks and regards
shanker.B
Anton
Top achievements
Rank 1
 answered on 22 Nov 2012
1 answer
83 views

Hi,

I have done sample project on radgrid with commanditemtemplate , but I cannot export to excel when i am click on button.

I applied Ajaxmanager ,radscript manager and ajaxpanel to grid.

please find the project below here.
Project .. Click Here

It is redirecting into same page without commanditemtemplate once clicked.
how can i redirect into add/edit pages once clicked on add /edit buttons in the grid.

please help me on this.

Andrey
Telerik team
 answered on 22 Nov 2012
7 answers
464 views
How do I change the Expand Icon to (+) sign and Collapse Icon to (-) sign  for the RadGrid Heirarchy.
Nicolaï
Top achievements
Rank 2
 answered on 22 Nov 2012
2 answers
84 views
Since the last update, we have an exception related to download http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js
Our servers not give us access to this url, and suddenly, there was an exception javaScript that we had not previously been a component  OCX that uses a webbrowser  IE6.


Gadi
Top achievements
Rank 1
 answered on 22 Nov 2012
1 answer
49 views
I am setting the Forecolor of a New Appointment() object, and then applying a recurrencerule.  Only the first event in the range has the Forecolor.  The rest have reverted to white.

Dim da As New Appointment()
...
da.ForeColor = Drawing.Color.Red
...
dim DailyRR As New DailyRecurrenceRule(1, range)
da.End = da.Start.AddMinutes(1)
da.RecurrenceRule = DailyRR.ToString()
RadCal.InsertAppointment(da)

I want all occurrences of this event to have the same ForeColor.  (I also tried BorderColor and BackColor, they are lost as well)

********************************************************************************************

Your recurrence engine is missing a MinutelyRecurrenceRule.  It would very helpful.  Is there some place I can vote on this feature?  I have a handful of events that are 10 and 15 minute increments, if I try to manually add them in a loop, the performance degrades significantly.   
Plamen
Telerik team
 answered on 22 Nov 2012
1 answer
89 views
Not sure where this one goes...

I have a grid of companies that allows updates to the address of the company.  At the end of that update, I need to ask the user if they want to update the contacts associated with that company to the same address.

Here the code that calls the javascript function:
        ClientScript.RegisterStartupScript(Me.GetType(), "ConfirmMessageBox", "confirmAddressChange(); ", True)

        If hfAddressChange.Value <> String.Empty Then
            Dim x As String = "Do Something here"

        End If

And here is the javascipt it is calling:
        function confirmAddressChange()
        {
             var res = (confirm('"Update Contact Addresses to Match?"')==true);
             document.forms[0].hfAddressChange.valueOf = res;    
             
        }

Basically all I'm doing is getting the response from the user and putting it into a HiddenField on the form.

Everything SEEMS to be working fine, except that the IF statement that checks the HiddenField runs before the confirmation box is run.

How do I call the function and make sure it is run BEFORE I check for the value returned in the HiddenField?

Any suggestions would be GREATLY appreciated.

Thanks.
Andrey
Telerik team
 answered on 22 Nov 2012
1 answer
111 views
I just see your demo as below:
http://demos.telerik.com/aspnet-ajax/orgchart/examples/applicationscenarios/addeditremoveemployees/defaultcs.aspx 

I also have a similar application to draw the structure: There are four nodes as sequence. My requirement is that the first and last node will not have the context menu and the second and third node will have the context menu. How to implement it?

Peter Filipov
Telerik team
 answered on 22 Nov 2012
3 answers
85 views
Hi,

I recently updated to the new version of Asp.Net AJAX RadControls (2012.3.1016.40).
The behaviour of the RadInput controls have changed. When I hoover over a RadTextBox or a RadNumericTextBox the height and width gets one or two pixels larger. See attached image.
Why is this and how can I repair this?

Paul
Vasil
Telerik team
 answered on 22 Nov 2012
10 answers
246 views
Hello,

I want the demo for Filtering and grouping in one radgrid
Please give me the demo for My requirement.

Please help me its urgent.

Regards
Eyup
Telerik team
 answered on 22 Nov 2012
1 answer
153 views
Hello

I am developing a usercontrol using Radgrid. My problem is that when I insert a template column containing a RadAutoCompleteBox the insert command stops firing and the callback from the RadAutoCompleteBox inside the TemplateColumn is invalid. In Edit Mode everything works fine. If I remove the column from the grid the insert command starts firing again and works perfectly, any ideas as to what the problem might be? 

the code for my custom column is as follows:

public class GridLookupColumn : GridTemplateColumn
    {
        private string _lookupDataMember;
 
        public string LookupDataMember
        {
            get { return _lookupDataMember; }
            set { _lookupDataMember = value; }
        }
        private string _lookupTextField;
 
        public string LookupTextField
        {
            get { return _lookupTextField; }
            set { _lookupTextField = value; }
        }
        private string _lookupValueField;
 
        public string LookupValueField
        {
            get { return _lookupValueField; }
            set { _lookupValueField = value; }
        }
        public class LookupActionTemplate : IBindableTemplate
        {
            public GridLookupColumn Column = null;
            
            
            public void InstantiateIn(Control container)
            {
                RadAutoCompleteBox lookup = new RadAutoCompleteBox();
                lookup.ID ="LC" + this.Column.UniqueName;
                lookup.DataSource = Column.Owner.OwnerGrid.DataSource;
                lookup.DataMember = Column.LookupDataMember;
                lookup.DataTextField = Column.LookupTextField;
                lookup.DataValueField = Column.LookupValueField;
                lookup.EnableViewState = true;
                container.Controls.Add(lookup);
                 
                 
                lookup.DataBind();
                lookup.DataBinding += new EventHandler(LookupDataBindingHandler);
                lookup.EntryAdded += new AutoCompleteEntryEventHandler(EntryAddedHandler);
                 
            }
            private void EntryAddedHandler(object sender, EventArgs e)
            {
                RadAutoCompleteBox lookup = sender as RadAutoCompleteBox;
                if (lookup.Entries.Count > 1)
                {
                    lookup.Entries.RemoveAt(0);
                    ExtractValues(lookup.NamingContainer as GridDataItem);
                     
                }
            }
            private void LookupDataBindingHandler(object sender, EventArgs e)
            {
                RadAutoCompleteBox lookup = sender as RadAutoCompleteBox;
                GridDataItem item = (GridDataItem)lookup.NamingContainer;
                string id = DataBinder.Eval(item.DataItem, this.Column.DataField).ToString();
                string text = String.Empty;
                DataSet data = (DataSet)Column.Owner.DataSource;
                foreach (DataRow r in data.Tables[Column.LookupDataMember].Rows)
                {
                    if (r[Column.LookupValueField].ToString() == id)
                    {
                        text = r[Column.LookupTextField].ToString();
                    }
                }
                AutoCompleteBoxEntry entry = new AutoCompleteBoxEntry(text, id);
                if(text != String.Empty)
                lookup.Entries.Add(entry);
                 
                             
                 
            }
 
            public System.Collections.Specialized.IOrderedDictionary ExtractValues(Control container)
            {
                IOrderedDictionary values = new OrderedDictionary();
                RadAutoCompleteBox lookup = container.FindControl("LC" + Column.UniqueName) as RadAutoCompleteBox;
                values.Add(Column.UniqueName, lookup.Entries[0].Value);
                return values;
            }
        }
        public class LookupTemplate : ITemplate
        {
            public GridLookupColumn Column = null;
            public void InstantiateIn(Control container)
            {
                Label l = new Label();
                l.ID = Column.UniqueName;
                container.Controls.Add(l);
                l.DataBinding += new EventHandler(LookupDataBindingHandler);
            }
            private void LookupDataBindingHandler(object sender, EventArgs e)
            {
                Label l = sender as Label;
                GridDataItem item = (GridDataItem)l.NamingContainer;
                string id = DataBinder.Eval(item.DataItem, this.Column.DataField).ToString();
                DataSet data = (DataSet) Column.Owner.DataSource;
                foreach (DataRow r in data.Tables[Column.LookupDataMember].Rows)
                {
                    if (r[Column.LookupValueField].ToString() == id)
                    {
                        l.Text = r[Column.LookupTextField].ToString();
                    }
                }
                  
 
            }
        }
         
        public GridLookupColumn()
        {
             
            LookupActionTemplate lookupActionTemplate = new LookupActionTemplate();
            LookupTemplate lookupTemplate = new LookupTemplate();
            lookupTemplate.Column = this;
            lookupActionTemplate.Column = this;
            this.EditItemTemplate = lookupActionTemplate;
            this.ItemTemplate = lookupTemplate;
            this.InsertItemTemplate = lookupActionTemplate;
            
             
             
             
        }
    }

I create the grid on Page Load as described in the documentation.

Any help is highly appreciated

Best Regards,

Claus Veirup
Antonio Stoilkov
Telerik team
 answered on 22 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?