Click here to Skip to main content
15,891,529 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Needed: An Interop Guru.. Pin
SimulationofSai21-May-07 10:33
SimulationofSai21-May-07 10:33 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa21-May-07 12:04
bgriffin_tpa21-May-07 12:04 
GeneralRe: Needed: An Interop Guru.. Pin
SimulationofSai22-May-07 5:07
SimulationofSai22-May-07 5:07 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa22-May-07 8:03
bgriffin_tpa22-May-07 8:03 
GeneralRe: Needed: An Interop Guru.. Pin
SimulationofSai22-May-07 9:18
SimulationofSai22-May-07 9:18 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa23-May-07 4:04
bgriffin_tpa23-May-07 4:04 
GeneralRe: Needed: An Interop Guru.. Pin
SimulationofSai22-May-07 9:28
SimulationofSai22-May-07 9:28 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa23-May-07 3:54
bgriffin_tpa23-May-07 3:54 
Imports MSDBGrid
Imports System.Runtime.InteropServices
Imports msdatasrc

Partial Class _Default

Inherits System.Web.UI.Page
Public WithEvents dbTestGrid As DBGrid

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

'*** this returns "Nothing" setting dbTestGrid = "fg"..??
dbTestGrid = CType(Page.FindControl("fg"), DBGrid)

'*** this also returns "Nothing" but I tried.
dbTestGrid = CType(Page.FindControl("fg"), Object)

With dbTestGrid
.FontName = "Verdana"
end with

'*** aren't we trying to do the opposite assignment?
Page.FindControl("fg") = dbTestGrid

End Sub

End Class

_Default.aspx
...

<object classid="clsid:D76D712E-4A96-11D3-BD95-D296DC2DD072"
="" height="189" <b="">name="fg" id="fg"
style="LEFT: 0px; TOP: 0px" width="726">


GeneralRe: Needed: An Interop Guru.. [modified] Pin
SimulationofSai24-May-07 2:25
SimulationofSai24-May-07 2:25 
GeneralRe: Needed: An Interop Guru.. Pin
bgriffin_tpa24-May-07 3:04
bgriffin_tpa24-May-07 3:04 
QuestionASP.NET / XML [modified] Pin
Unsichtbar21-May-07 9:34
Unsichtbar21-May-07 9:34 
AnswerRe: ASP.NET / XML Pin
Not Active21-May-07 9:46
mentorNot Active21-May-07 9:46 
QuestionLosing Session ID Pin
dptalt21-May-07 8:56
dptalt21-May-07 8:56 
AnswerRe: Losing Session ID Pin
SimulationofSai21-May-07 10:22
SimulationofSai21-May-07 10:22 
GeneralRe: Losing Session ID Pin
Keith Andersch23-May-07 8:11
Keith Andersch23-May-07 8:11 
GeneralRe: Losing Session ID Pin
VbManVzw23-May-07 8:38
VbManVzw23-May-07 8:38 
GeneralRe: Losing Session ID Pin
dptalt24-May-07 2:29
dptalt24-May-07 2:29 
GeneralRe: Losing Session ID Pin
VbManVzw24-May-07 6:18
VbManVzw24-May-07 6:18 
Questionusercontrol property to usercontrol property Pin
TheEagle21-May-07 8:54
TheEagle21-May-07 8:54 
AnswerRe: usercontrol property to usercontrol property Pin
VbManVzw24-May-07 10:05
VbManVzw24-May-07 10:05 
QuestionPostback problem Pin
Elizma21-May-07 8:15
Elizma21-May-07 8:15 
AnswerRe: Postback problem Pin
deepaks321-May-07 8:25
deepaks321-May-07 8:25 
AnswerRe: Postback problem Pin
Not Active21-May-07 8:26
mentorNot Active21-May-07 8:26 
AnswerRe: Postback problem Pin
GgAben22-May-07 0:14
GgAben22-May-07 0:14 
QuestionClosing Pop Up. Pin
deepaks321-May-07 8:04
deepaks321-May-07 8:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.