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

I Haven't been able to find the documentation for how to correctly include textboxes with
info related to the file being uploaded, and how to access this info in code behind.
Sorry if it is in an obvious place - I can't find it.

My wife would say it is 'where you left it', but that can't be right in this case...

Thanks

Clive
Veselin Vasilev
Telerik team
 answered on 29 Jun 2009
3 answers
91 views
Hi,

I have a Grid with RadMaskedTextBoxes.

I have the textboxes set up so that the mask is <00..24><00..59> with the display mask being <00..24>:<00..59>.

If one of the text boxes has focus and I press the ESC button twice, all of the RadMaskedTextBoxes no longer show my display mask with the colon.  They seem to all display the mask instead.

Also all RadMaskedTextBox lose any new value entered and revert back to the original value, even if they do not have focus at the time the ESC is pressed.

Is this correct behaviour?
Nikolay Rusev
Telerik team
 answered on 29 Jun 2009
1 answer
139 views
Hi Telerik Guys !

This is my second mail that Iam drafting at your forum, & Iam quite aure that His time you will reply to this one.

 As I mentioned in my previous mail, I have implemented an RAD GRID with GRAY SKIN in my project & used some of the properties of RESIZING the column of the GRID.

Now when I resize the width of the COLUMN the overall alignment of my web page gets disturbed.

How can I manage the width of the column ??


Help help help !!!!!!

Ajay
Dimo
Telerik team
 answered on 29 Jun 2009
4 answers
86 views
Hi All ,

1 . Is it possible to display the Tree Lines for the Hirerahical Grid display .

2.  How is the +(plus) in the Hirerahical Grid for expansion and Collapasing got .

Thanks In Advance

Regards
Vinodh
Shinu
Top achievements
Rank 2
 answered on 29 Jun 2009
3 answers
117 views
Sorry fellas I'm sure this has been answered somewhere but I can't find a clear example.

I have a grid full of data, what I would like to do is group it by a column and to have the group header show sum() data in the column it relates to rather than appended to the end of the group header as its hard to read when the group headers are a different length.

Hope this makes sense, for example if I had the following grid of data

Project       Time    Value
Red            2          3
Red            2          3
Orange      4          10
Orange      4          10

I would want to see this when the Project field is grouped

Project         Time   Value
+Red             4        6
+Orange       8        20

Instead of

Project       Time    Value
+Red,Time:4,Value:6
+Orange,Time:8,Value:20

You can see the values are in their relevant column, I've done it with other grids just wondering how to do it with this one,

Ta




phil doc
Top achievements
Rank 1
 answered on 29 Jun 2009
5 answers
339 views
Hi,

I have a grid with one GridDropDownColumn and two GridBoundColumns. I've set AllowAutomaticInserts and AllowAutomaticUpdates to True. I add rows by selecting a value from a dropdown and entering values in the textboxes. Now I'd like to be able to edit rows by changing the values in the textboxes, but I don't want to allow editing the first dropdown column. If I put ReadOnly, then I can't use the dropdown on Insert. Is there a way to be able to insert, but not edit a column?

Thanks,
Julia
Daniel
Telerik team
 answered on 29 Jun 2009
1 answer
174 views

 

 

Hi

 
Me.RadWindowManager1.Windows.Add(newWindow)
(newWindow) is underline and giving me an error of
"value of type 'telerik.web.UI.RadWindow' cannot be converted to 'telerik.webcontrols.RadWindow"

This is the sub.

Protected
Sub LinkButton2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton2.Click

 

 

Dim

 

newWindow As New Telerik.Web.UI.RadWindow()

 

 

 

newWindow.ID = "AES"

 

newWindow.NavigateUrl =

"~/AES/expshiptb.aspx"

 

newWindow.VisibleOnPageLoad =

"True"

 

 

Me.RadWindowManager1.Windows.Add(newWindow)

 

 

End Sub


 

 

<radW:RadWindowManager ID="RadWindowManager1" runat="server"

 

 

ShowContentDuringLoad ="false" ReloadOnShow ="true" Skin ="Web20"

 

 

 

Your help on this problem will be appreciated.

Shinu
Top achievements
Rank 2
 answered on 29 Jun 2009
2 answers
141 views
protected void PermissionGrid_InsertCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)  
        {  
                // some code here, irrelevant
                GridEditableItem editedItem = e.Item as GridEditableItem;
                GridEditManager editMan = editedItem.EditManager;
                Permissions st = new Permissions();
                Hashtable newValues = new Hashtable();
                e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem)
                // some code here, irrelevant
                foreach (DictionaryEntry de in newValues)  
                {  
                    if (de.Key == "PermissionsName")  
                    {  
                        st.PermissionsName = de.Value.ToString();  
                    }  
                    if (de.Key == "PermissionsNo")  
                    {  
                        if (pre.CheckNosExist(de.Value.ToString())) // check if "PermissionsNo" exsited!  
                        {  
                            st.PermissionsNo = de.Value.ToString();  
                            ValuedDate = true;  
                        }  
                        else // show alert message!
                        {  
                            string myScript = string.Format("Sys.Application.add_load(function(){radalert('A string.', 200, 100,'{0}');})""data exsited!");  
                            Page.ClientScript.RegisterStartupScript(this.GetType(), "SCR", myScript, true);       
                        } 
                    }  
                    if (de.Key == "PermissionsTemp")  
                    {  
                        st.PermissionsTemp = de.Value.ToString();  
                    }  
                    if (de.Key == "Remarks")  
                    {  
                        st.Remarks = de.Value.ToString();  
                    }  
                }  
 
                if (ValuedDate == true) pre.Insert(st);// insert into database  
}  
 

I use a function to check if this item's 'PermissionsNo'  has already exsited in database.

If (exsited)
{
   show an alert message ;
   doesn't insert into database.
}
else
{
   insert into database.
}
But it seems that the alert message doesn' show here.
Can you give me a demo to show how to  alert from code behind in Grid_InsertCommand?

Thank you

Airad
Airad
Top achievements
Rank 1
 answered on 29 Jun 2009
2 answers
153 views
hi

i am using Telerik Q1 2007 version .i have set the initial behavior=maximized .when window open ,its not showing in maximized Mode. when i have set the behavior=maximized. it shows the Maximized button.
In my project there are  some rad menus.  but problem is when i maximized the window. it cover up the whole area.and its overlapping the menus. is there any restriction to maximized the window. means it will show the window within particular area.

please give me the solutions ASAP.

Regards

rahul


Svetlina Anati
Telerik team
 answered on 29 Jun 2009
1 answer
120 views

Hai,
      First of all Thanks for your previous support.Now i'have encountered  with another problem  of the scheduler.
      I have almost succeeded in custumizing the advanced form  template .it is working fine in local version without any error.but in the deployed version there  occurs a javascript error
'Object expected'.this happens only in deployed version .the script function that causes the error is

 

 

 

function schedulerFormCreated(scheduler, eventArgs) {

 

 

 

var $ = $telerik.$;

 

 

 

var schedulerElement = scheduler.get_element();

 

 

 

var formElement = $("div.rsAdvancedEdit", schedulerElement);

 

 

 

if (formElement.length == 1) {

 

 

 

// Initialize the client-side object for the advanced form

 

 

 

 

 

 

 

var advancedTemplate = new window.SchedulerAdvancedTemplate(schedulerElement, formElement);

 

advancedTemplate.initialize();

}

}

 



I cudn't understand what the problem is?and i'm not using any cssclass named rsAdvancedEdit.
Can anybody help me its very urgent!!!.Thanks once again in advance 
                                                                                         with regards                                                                                                                             
                                                                                                            vish


Peter
Telerik team
 answered on 29 Jun 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?