Click here to Skip to main content
15,912,400 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.NET Label Properties Programmatically Pin
cybersurferdev18-Apr-06 4:55
cybersurferdev18-Apr-06 4:55 
AnswerRe: ASP.NET Label Properties Programmatically Pin
dabs18-Apr-06 5:10
dabs18-Apr-06 5:10 
AnswerRe: ASP.NET Label Properties Programmatically Pin
Mike Ellison18-Apr-06 6:13
Mike Ellison18-Apr-06 6:13 
GeneralRe: ASP.NET Label Properties Programmatically Pin
cybersurferdev18-Apr-06 19:20
cybersurferdev18-Apr-06 19:20 
QuestionCannot access the asp.net pages from the web server Pin
Sunny H18-Apr-06 4:43
Sunny H18-Apr-06 4:43 
AnswerRe: Cannot access the asp.net pages from the web server Pin
VenkataRamana.Gali18-Apr-06 5:52
VenkataRamana.Gali18-Apr-06 5:52 
AnswerRe: Cannot access the asp.net pages from the web server Pin
Stanciu Vlad18-Apr-06 7:03
Stanciu Vlad18-Apr-06 7:03 
QuestionHow do I use a windows control in my web app if it references SHDovVw.dll? Pin
coder62618-Apr-06 4:29
coder62618-Apr-06 4:29 
Hello.

I would like to run a windows control in my aspx code (using the <object classid="dllname#namespace.controlname/">. I am able to display my control button in my webpage.
However, .Net security does not allow me to do much with it. All the information I found tells me I need to strongly name my assembly and then add it directly to .Net Configuration Runtime Security Policy. However, when I stronly name my assembly, in order for my control button to show up I must place the "
[assembly:AllowPartiallyTrustedCallers]" directive in my dll's code. In addition the compiler does not allow me to strongly name an assembly containing references to ones that are not, therefore I need to wrap the SHDocVw dll with a strong name as well. (I am using project->properties->wrapper assembly key file).
At this point I get in trouble, however. My control shows up and works fine on my web page. However, when it goes to create a SHDocVw.WebBrowser object I get the error "That assembly does not allow partially trusted callers". I cannot find a way to get around this. I need the web browser control to be able to access the web browser on the client machine for the project I am trying to achieve, and I cannot find another way to do it besides using the SHDocVw.dll. However, I also cannot seem to find any way to get around all the permission stumbling blocks. I am sure someone has done this before, and figured out what needs to be done. Please help!

Thank you
~Y

PS. I need to do this in .Net 1.1 I cannot resort to .Net 2.0 for this.


-- modified at 10:31 Tuesday 18th April, 2006
QuestionASP.Net 2.0 Modal window - Master/Child page Pin
Grapes-R-Fun18-Apr-06 4:21
Grapes-R-Fun18-Apr-06 4:21 
AnswerRe: ASP.Net 2.0 Modal window - Master/Child page Pin
minhpc_bk18-Apr-06 5:47
minhpc_bk18-Apr-06 5:47 
GeneralRe: ASP.Net 2.0 Modal window - Master/Child page Pin
Grapes-R-Fun18-Apr-06 6:45
Grapes-R-Fun18-Apr-06 6:45 
GeneralRe: ASP.Net 2.0 Modal window - Master/Child page Pin
minhpc_bk18-Apr-06 16:09
minhpc_bk18-Apr-06 16:09 
QuestionSetting Datagrid column width dynamically Pin
Veeves18-Apr-06 3:19
Veeves18-Apr-06 3:19 
AnswerRe: Setting Datagrid column width dynamically Pin
NeverHeardOfMe18-Apr-06 3:42
NeverHeardOfMe18-Apr-06 3:42 
GeneralRe: Setting Datagrid column width dynamically Pin
Veeves18-Apr-06 4:55
Veeves18-Apr-06 4:55 
AnswerRe: Setting Datagrid column width dynamically Pin
VaibhavJ19-Apr-06 5:26
VaibhavJ19-Apr-06 5:26 
QuestionASP.NET Pin
kuwl_mark18-Apr-06 2:53
kuwl_mark18-Apr-06 2:53 
AnswerRe: ASP.NET Pin
minhpc_bk18-Apr-06 6:05
minhpc_bk18-Apr-06 6:05 
QuestionForms Authentication and deploying Pin
dabs18-Apr-06 2:08
dabs18-Apr-06 2:08 
AnswerRe: Forms Authentication and deploying Pin
Mike Ellison18-Apr-06 6:05
Mike Ellison18-Apr-06 6:05 
QuestionDataGrid, DataList Pin
ndkit18-Apr-06 1:25
ndkit18-Apr-06 1:25 
AnswerRe: DataGrid, DataList Pin
jitendra gupta18-Apr-06 1:59
jitendra gupta18-Apr-06 1:59 
QuestionDatagrid Formatting....... Pin
daviiie18-Apr-06 0:52
daviiie18-Apr-06 0:52 
AnswerRe: Datagrid Formatting....... Pin
Mike Ellison18-Apr-06 5:56
Mike Ellison18-Apr-06 5:56 
QuestionASP.Net 2 Menu Control and MultiView Control Pin
colin mcadam18-Apr-06 0:37
colin mcadam18-Apr-06 0:37 

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.