Click here to Skip to main content
15,918,041 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Master Page Pin
saanj29-Apr-09 23:17
saanj29-Apr-09 23:17 
Questionhow to strike out the yesterday dates in calendar control Pin
sowmyadaram29-Apr-09 21:14
sowmyadaram29-Apr-09 21:14 
AnswerRe: how to strike out the yesterday dates in calendar control Pin
Spunky Coder29-Apr-09 21:53
Spunky Coder29-Apr-09 21:53 
AnswerRe: how to strike out the yesterday dates in calendar control Pin
Abhishek Sur29-Apr-09 21:56
professionalAbhishek Sur29-Apr-09 21:56 
QuestionCreating PDF file using itextSharp dll Pin
ksarchana29-Apr-09 21:02
ksarchana29-Apr-09 21:02 
AnswerRe: Creating PDF file using itextSharp dll Pin
Vasudevan Deepak Kumar29-Apr-09 22:19
Vasudevan Deepak Kumar29-Apr-09 22:19 
GeneralRe: Creating PDF file using itextSharp dll Pin
ksarchana6-May-09 23:22
ksarchana6-May-09 23:22 
Questioncalendar control Pin
scar_face29-Apr-09 19:23
scar_face29-Apr-09 19:23 
AnswerRe: calendar control Pin
Spunky Coder29-Apr-09 19:30
Spunky Coder29-Apr-09 19:30 
GeneralRe: calendar control Pin
scar_face29-Apr-09 19:37
scar_face29-Apr-09 19:37 
GeneralRe: calendar control Pin
Spunky Coder29-Apr-09 19:50
Spunky Coder29-Apr-09 19:50 
AnswerRe: calendar control Pin
Abhijit Jana29-Apr-09 19:49
professionalAbhijit Jana29-Apr-09 19:49 
AnswerRe: calendar control Pin
saanj29-Apr-09 23:20
saanj29-Apr-09 23:20 
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 

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.