Click here to Skip to main content
15,887,485 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionCheckboxlist in datalist Pin
indian2229-Apr-09 18:10
indian2229-Apr-09 18:10 
AnswerRe: Checkboxlist in datalist Pin
SayreCC29-Apr-09 19:16
SayreCC29-Apr-09 19:16 
GeneralRe: Checkboxlist in datalist Pin
indian2229-Apr-09 21:12
indian2229-Apr-09 21:12 
QuestionRegarding installation of Visual Studio Webdeveloper Pin
Ivan200929-Apr-09 15:35
Ivan200929-Apr-09 15:35 
AnswerRe: Regarding installation of Visual Studio Webdeveloper Pin
Christian Graus29-Apr-09 16:09
protectorChristian Graus29-Apr-09 16:09 
GeneralRe: Regarding installation of Visual Studio Webdeveloper Pin
Ivan200929-Apr-09 19:30
Ivan200929-Apr-09 19:30 
AnswerRe: Regarding installation of Visual Studio Webdeveloper Pin
SayreCC29-Apr-09 19:17
SayreCC29-Apr-09 19:17 
Questiongetting "Microsoft JScript runtime error: Object expected" Pin
Wes Jones29-Apr-09 14:07
Wes Jones29-Apr-09 14:07 
I'm using asp:GridView on a page that uses a Master Page, and I added a template field to grid so that I can pop up a window instead of taking them to a full page.

When I click on the link that should call the script to open the popup, I get the error "Microsoft JScript runtime error: Object expected", & I haven't really seen any good answers online yet.

I'm using this, pretty much as given @ this article: Popup window for the GridView[^] (slow traffic there so posting here)

If anyone could provide a corretive assessment(ie: HELP!!!), that'd be great!

My page source looks a bit like this:

<code>
<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="MainContentPlaceHolder">

<script language="javascript">
        var popupWindow
        function openPopup(strOpen) {
            popupWindow = window.open(strOpen, 'DaaaaName', 'width=500, height=700, top=100, left=300');
            if (window.focus) popupWindow.focus();            
        }
</script>
<asp:GridView......> 
.....
   < Columns >
   ......
   <asp:TemplateField HeaderText="Rate it?">
     < ItemTemplate >
      < a href="javascript:openPage('Ratings.aspx?ID=<%# Eval("ID") %>')">Rate it! </a >
     < /ItemTemplate>
   < /asp:TemplateField>
   < /Columns>
......
< /asp:GridView>
< /asp:Content>
</code>

AnswerRe: getting "Microsoft JScript runtime error: Object expected" Pin
SayreCC29-Apr-09 15:19
SayreCC29-Apr-09 15:19 
GeneralRe: getting "Microsoft JScript runtime error: Object expected" Pin
Wes Jones29-Apr-09 16:56
Wes Jones29-Apr-09 16:56 
AnswerRe: getting "Microsoft JScript runtime error: Object expected" Pin
dotnetmember29-Apr-09 17:38
dotnetmember29-Apr-09 17:38 
GeneralRe: getting "Microsoft JScript runtime error: Object expected" Pin
Wes Jones29-Apr-09 17:49
Wes Jones29-Apr-09 17:49 
Questionadding repeater at runtime, Pin
mark_me29-Apr-09 12:48
mark_me29-Apr-09 12:48 
Questionpageload/onloadcomplete Pin
mark_me29-Apr-09 12:14
mark_me29-Apr-09 12:14 
AnswerRe: pageload/onloadcomplete Pin
Christian Graus29-Apr-09 15:08
protectorChristian Graus29-Apr-09 15:08 
GeneralRe: pageload/onloadcomplete Pin
mark_me29-Apr-09 15:33
mark_me29-Apr-09 15:33 
GeneralRe: pageload/onloadcomplete Pin
Christian Graus29-Apr-09 16:23
protectorChristian Graus29-Apr-09 16:23 
QuestionAsp.net testing server problem Pin
ahawari0929-Apr-09 11:10
ahawari0929-Apr-09 11:10 
AnswerRe: Asp.net testing server problem Pin
Ivan200929-Apr-09 15:36
Ivan200929-Apr-09 15:36 
GeneralRe: Asp.net testing server problem Pin
ahawari0929-Apr-09 18:39
ahawari0929-Apr-09 18:39 
GeneralRe: Asp.net testing server problem Pin
Ivan200930-Apr-09 10:17
Ivan200930-Apr-09 10:17 
QuestionChange datatype of column in dataset in designtime Pin
AlexeiXX329-Apr-09 10:35
AlexeiXX329-Apr-09 10:35 
QuestionThe request failed with HTTP status 400: Bad Request Pin
Sandeep Akhare29-Apr-09 9:25
Sandeep Akhare29-Apr-09 9:25 
AnswerRe: The request failed with HTTP status 400: Bad Request Pin
Christian Graus29-Apr-09 10:14
protectorChristian Graus29-Apr-09 10:14 
GeneralRe: The request failed with HTTP status 400: Bad Request Pin
Sandeep Akhare29-Apr-09 10:20
Sandeep Akhare29-Apr-09 10:20 

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.