I would like to reference a custom control that is on a seperate aspx page. I guess any control example would do - I thought I could dim an instance and set it to the object on a different page but got stuck.
Something like
Dim tx as TextBox
tx = 'code to get the TextBox1 control on a...
http://dotnetjunkies.com/WebLog/petergekko/archive/2004/10/25/29621.aspx
I use FF and Mozill without problems. Although you may not be able to do remote debugging, which I haven't tried.
Scott
I have a VARCHAR2 field in SQL Server holding XML. I need to query that field and parse the contents with, I assume, either an XMLDocument or XMLTextReader. Does anyone have any suggestions on how to approach this. The query part is no problem - it's how to take the contents and build an...
Thanks for the sample code. I have made some progress and actually got it to work. Here is the code for my Control:
Imports System.ComponentModel
Imports System.Web.UI
Imports System
Imports System.Web.UI.Control
<ToolboxData("<{0}:DWSDGeocode runat=server></{0}:DWSDGeocode>")> Public Class...
...and do something with the params. I am using window.opener to get Default.aspx to postback. The problem is creating my own Events to capture. I *think* I need to create a class that inherits from Control - I won't have a visual appearance to my control, I just need to define my own Events...
Use an HTML Hidden control and run it as a Server Control (Right click on it and select 'Run as server control'. Then you can get the Value of it in the VB Code when you post back.
Scott
Sounds like the controls aren't declared. Make sure you have the following in the Region:
Protected WithEvents TextBox1 As System.Web.UI.WebControls.TextBox
What happens when you type "me." - do you get a dropdown? Does it have your controls listed?
Are you sure these textboxes are web...
Here is the solution - thanks for oyur suggestions:
Dim s As String = sqlDS.Tables(0).Rows(0).Item(1)
Dim reader As New System.IO.StringReader(s)
dsXML.ReadXmlSchema("C:\dsLayers.xsd")
dsXML.ReadXml(reader)
Scott
Thanks for your patience:
sXML contains the following XML content:
<?xml version="1.0" standalone="yes"?>
<dsLayers>
<layers>
<layername>Conduits</layername>
<layerOrder>0</layerOrder>
</layers>
<layers>
<layername>Valves</layername>
<layerOrder>1</layerOrder>
</layers>...
thanks for the tip, but I still can't egt it to work:
Here is the xml that is stored as text in the db:
<?xml version="1.0" standalone="yes"?>
<dsLayers>
<layers>
<layername>Conduits</layername>
<layerOrder>0</layerOrder>
</layers>
<layers>
<layername>Valves</layername>...
Hi all,
I have a SQL2000 table where one field is text and contains an XML document.
What I need to do is query the row and take the contents of the XML field
and create a DataSet from it. That DataSet will then be bound to a control.
Updates can be made and then I need to convert the...
Thanks for the reply, VEEP.
Yes I am sure it is not being minimized. Further testing shows that if I open Page2.aspx and then press a button on Page1.aspx that requires a postback of Page1 - Page2 closes automatically.
I'm more confused now.
Scott
Page1.aspx: I have an html button that fires a javascript to open Page2.aspx in a seperate target. The user does what they need to do in Page2.aspx and I have a button that through javascript fires a script on Page1.aspx via opener.script Name. That script eventually does a postback - and...
Hello bhafer, I have a question. Why continue to support a seven year old piece of software? I know it's customized, but have you looked into what it would take to update the customization to 2005? It's gonna be tough finding R14 auth's - you may just need to bite the bullet and look for...
Sorry - upon further review I mis-understood your previous post. VBAIDE will not be available in LT - but it should be available in AutoCAD. If memeory serves in 2000, you may need to pop the install cd in and select "Custom" and add VBA capabilities.
Scott
editZ will not be an Autocad command. Once you have pasted the code in the IDE, go back to acad and type vbarun. There should be one macro listed for you to run - that being editZ.
Scott
If you happen to have Autodesk Map this is out-of-the-box functionality. If you do not, I have a VBA macro you can use. It doesn't look like I can post the dvb in this newsgroup - so here is the code. In acad type vbaide and paste this code into the ThisDrawing section - change the Layer name...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.