Click here to Skip to main content
16,011,608 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Setting timeout property in asp.net page Pin
enjoycrack16-May-07 23:59
enjoycrack16-May-07 23:59 
Questiontrapping a click on calendar control Pin
Senseicads16-May-07 22:40
Senseicads16-May-07 22:40 
QuestionASP .NET Custom Controls Pin
jkp250516-May-07 22:14
jkp250516-May-07 22:14 
AnswerRe: ASP .NET Custom Controls Pin
N a v a n e e t h16-May-07 22:55
N a v a n e e t h16-May-07 22:55 
GeneralRe: ASP .NET Custom Controls Pin
jkp250516-May-07 23:05
jkp250516-May-07 23:05 
GeneralRe: ASP .NET Custom Controls Pin
N a v a n e e t h16-May-07 23:18
N a v a n e e t h16-May-07 23:18 
GeneralRe: ASP .NET Custom Controls Pin
Sandeep Akhare16-May-07 23:23
Sandeep Akhare16-May-07 23:23 
GeneralRe: ASP .NET Custom Controls Pin
jkp250516-May-07 23:45
jkp250516-May-07 23:45 
Hi,

Thank you for the replies. I am having trouble understanding the difference between a user control and a custom control. The article I mentioned is about custom controls, inheriting from the WebControl class. The user control is a different thing, and I'm not sure if it can do what I need. The control will need to output Javascript, but dynamically setting the contents of a script tag is difficult because ASP .NET seems to try to interpret the code as C# code, even with the type set to "text/javascript".

@Navaneeth:

It seems I can't use the src attribute because it doesn't seem to work for custom web controls, only user controls.

@Sandeep:

The control is in a CS file in the App_Code directory, so it's not within an assembly. According to the article this should be OK.
Questiontrapping errors in asynchronous page Pin
willsgeorge16-May-07 21:17
willsgeorge16-May-07 21:17 
AnswerRe: trapping errors in asynchronous page Pin
N a v a n e e t h16-May-07 22:53
N a v a n e e t h16-May-07 22:53 
GeneralRe: trapping errors in asynchronous page Pin
willsgeorge16-May-07 23:09
willsgeorge16-May-07 23:09 
QuestionPublish Asp,net Pages Pin
BINOVAR16-May-07 21:02
BINOVAR16-May-07 21:02 
AnswerRe: Publish Asp,net Pages Pin
Atif Ali Bhatti16-May-07 22:13
Atif Ali Bhatti16-May-07 22:13 
GeneralRe: Publish Asp,net Pages Pin
BINOVAR16-May-07 22:35
BINOVAR16-May-07 22:35 
Questionquiz with pie chart Pin
saravanan0516-May-07 20:44
saravanan0516-May-07 20:44 
QuestionAccept only one decimal in textbox Pin
varshavmane16-May-07 20:24
varshavmane16-May-07 20:24 
AnswerRe: Accept only one decimal in textbox Pin
Sandeep Akhare16-May-07 21:10
Sandeep Akhare16-May-07 21:10 
AnswerRe: Accept only one decimal in textbox Pin
Sandeep Akhare16-May-07 22:06
Sandeep Akhare16-May-07 22:06 
GeneralRe: Accept only one decimal in textbox Pin
varshavmane16-May-07 23:54
varshavmane16-May-07 23:54 
QuestionPassing Formula Fields to Crystal Report: Pin
Shahzad.Aslam16-May-07 20:10
Shahzad.Aslam16-May-07 20:10 
Questionerror while changing user info pls help Pin
neodeaths16-May-07 20:00
neodeaths16-May-07 20:00 
QuestionValidation Controls Pin
yaminilatha16-May-07 19:46
yaminilatha16-May-07 19:46 
AnswerRe: Validation Controls Pin
Shahzad.Aslam16-May-07 20:20
Shahzad.Aslam16-May-07 20:20 
GeneralRe: Validation Controls Pin
yaminilatha16-May-07 21:12
yaminilatha16-May-07 21:12 
AnswerRe: Validation Controls Pin
rujuc#16-May-07 20:27
rujuc#16-May-07 20:27 

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.