Look at this, perhaps it helps you http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconpassingservercontrolvaluesbetweenpages.asp Michela
Michela 0
Posts
-
Problem passing data between modal dialog and parent window -
How set selected item of dropdownlist in dynamic template columns of DatagridI had the same problem and I solved it in this way. First populate CartView with data, Bind to the datagrid MyDataGrid.DataSource = CartView MyDataGrid.DataBind() Dim i As Integer Dim rowview As DataRowView Dim itm As DataGridItem For Each itm In MyDataGrid.Items rowview = CartView.Item(i) i += 1 ' Find the control in the datagrid Dim lst As System.Web.UI.WebControls.DropDownList lst = itm.FindControl("ListCausali_CL") lst.DataValueField = "ID" lst.DataTextField = "FullName" ' Populate the dropdownlist lst.DataSource = SOMEDATA lst.DataBind() ' Set the selected Item lst.Items.FindByValue(CInt(rowview("ID_Causale_CL"))).Selected = True Next "ListCausali_CL" is the name of the the DDL list in the DataGrid If you have the value in the Datagrid you can find the control and than use it for selecting the item. I had to use my dataview because I didn't have it in the datagrid. Don't put the declaration of lst outside of FOR, you could have problem. Hope it helps you.
-
EventArgs in DoPostbackIf you do a manual postback by calling __doPostBack in javascript, what happens to the value you send for the eventArgument argument? For example, suppose the following is called in javascript __doPostBack('Button1','Test'); This causes a postback but how can I extract the value "Test" from the eventArgs ? Michela
-
ASP.NET and Microsoft WordLook at the ASP.NET section, I put the article about Word and ASP.NET http://www.codeproject.com/useritems/WordApplication.asp By Michela
-
ASP.NET and Microsoft WordOk, I fix something and then I'll send a message so I can send you the code. Sorry I don't now if I will finish today, but I try to finish as soon as possible. Michela
-
ASP.NET and Microsoft WordI forgot to tell you that it's in C# but I think it isn't complicated to trasform in VB.NET. Michela
-
ASP.NET and Microsoft WordBy now I have a project where I build a class that can do the following things : - open a new document based on a template. - open a document, append something, save (eventually with a new name) - open a document with bookmarks inside and write some text base on bookmarks. Some other things, like insert new paragraph, insert text, insert page break. If you are interested I can send you all the project with some comments. Michela
-
ASP.NET and Microsoft Word -
Microsoft Word and asp.net -
ASP - access databaseI've found the following example. Hope it helps you Michela <% conn.Open strconnection set rs = conn.OpenSchema(maxTable) ' maxTable=20 for me %> <% do while not rs.eof if rs("table_type") = "TABLE" then %> <% end if rs.movenext loop rs.close %>
»
Tables
Table Name
<%=rs("table_name")%>
-
How to pass Variant array from ASP to COM?I don't know if you already solved your problem. I spent a long time with a C++ component called by a ASP page and I remember that the output parameter can only be a VARIANT* (you have long), perhaps the problem isn't in the input parameter but in the output. Hope it helps. Michela
-
Many Thanks!!!I found a problem in your site so I sent an e-mail to you, please read it. Michela
-
Web portal like Codeproject in ASP?you can try with http://coveryourasp.com/CYA.asp or http://www.2enetworx.com/dev/index.asp , you can download the entire site. The first one is ASP+javascript, the second ASP+VBscript Michela
-
Testers requested for ASP.NET controlWorks from Italy Michela
-
Redirect questionFrom "Professional Active Server Pages 3.0". In ASP 3.0 and IIS 5.0 we can avoid the need to use client-side redirection with 2 method : Execute and Transfer.They cause control to be passed immediately to another page which can be an ASP script page or something else. The difference between them is that Execute method 'calls' the other page, much like we call a subroutine. When the other page or resource has completed execution or streaming to the client, control pass back to the statement following the call to the Execute method in the original page, and execution continues from there. When we use the Transfer method, control does not pass back to the original page, and execution stops at the end of the page or resource we trasnferred control to. Hope it can be useful. Michela
-
a website link test!It works for me (Italy) Michela
-
is asp source for this website available?Sorry I just remember this one : http://www.2enetworx.com/dev/projects/2enetworx.asp This one is all done with ASP and VBScript, the other (http://coveryourasp.com/CYA.asp)is ASP + JScript Bye Michela
-
is asp source for this website available?You can try this one: http://coveryourasp.com/CYA.asp
-
spamLook at this site (http://www.smallclaim.info) and look how he spends his time suing spammers. Michela
-
This is really starting to annoy me now !I had a worse problem, after downloading from Microsoft site the latest driver for VIDEO Card (MATROX G400 AGP) I could not any more look at the properties page, every time I tried to do so my computer blocked and I could only shut down it (with reset button). After a lot of working i found 2 solution : 1 - put xp default driver (or at least what xp calls the latest driver installed) 2 - put AGP 2x instead of AGP 4x Michela