| Window.alert problem (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| hi, i am having some problem with alert's. I use this in c# private void Button2 Click(object sender, System.EventArgs e) { Response.Write(" script window.alert('This is a test message /n that i want send /n with several lines') /script "); } But when i run it, it always give sript error!!! Is there a another way to 'feedlines', without using /n , i think that c# converts /n into something like an... |
|
| parameters (2 replies) |
| microsoft.public.dotnet.languages.jscript |
| hi all, * how can i transfer parameters from aspx page to another ? * how can i transfer parameters from html page to another by javascript (navigate(aspx2.aspx)) ? please write some code... thankz, Oren |
|
| confirm message (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| hi all, i created an aspx page with datagrid (web control that uses the Property Columns ButtonColumn for the "Delete" Button. i'm trying to create a confirm message (at client side in javascript) before delete a selected row. please write some html code aspx code... thankz, Oren |
|
| code behind classes (3 replies) |
| microsoft.public.dotnet.languages.jscript |
| Hi All, How would you in .NET create a base class and then create a class devired from that base class? So you could have: Page.aspx @Page Codebehind "Page.aspx.js"% etc.... Page.aspx.js include ??????????????? namespace myNameSpace { public class myClass : myBaseClass etc.... } filename????????????????????? namespace myBaseClass { public class WebForm1 : System.Web.UI.Page etc..... } Cheers Gav |
|
| DataGrid ComboBox control populate form (2 replies) |
| microsoft.public.dotnet.languages.jscript |
| I have a DataGrid in a Windows Form. The grid is mapped to a table Sales in a database. I have two controls on the grid. One is a ComboBox and the second is a textbox. I want the ComboBox to display CompName (which will come from the Company table) but store CompID instead in the Sales table, and then in the text box, users can enter sales. The reason is that users remember company names and not t... |
|
| How to get to text (2 replies) |
| microsoft.public.dotnet.languages.jscript |
| Hi all, I have a DataGrid and I have customised the grid by putting asp:labels in the cells but now if I do in OnItemDataBound, e.item.cells[n].Text it always returns blank.... I assume this is because it is a label in the cell. But does anybody know how I can get the text out of the label? Thanks Gav |
|
| Grid update sqldataadapter dataset UpdateCommand Object Reference (6 replies) |
| microsoft.public.dotnet.languages.jscript |
| I have a grid, whose source of data is a dataset. When the grid loads, it is populated with the data in the dataset. A user can change any data in the datagrid. When the user closes the grid, I want that data to be saved in the database. In the OnClosing event, I have tried various things, but I keep getting different errors. What do I need to do to allow users to update, delete, insert right from... |
|
| String object and slice method... (5 replies) |
| microsoft.public.dotnet.languages.jscript |
| I'm having a heck of time getting String.Slice to work. Here's a snippet of my code; var strOutput new String(); var index 0; while (index 10) { strOutput index "ABCDEF"; strNew strOutput.Slice(0, 4); Response.Write(strNew); index ; } The error I get is "Object doesn't support this property or method". Any ideas? Thanks, Fred |
|