This code is called on my grid view event , I want to open a new window on grid event. But on this page where this code is not working, it is not working for any control , be it simple button click , and on other pages, it is working on same events, I wonder whats so special in this page , I thought it must be ajax creating problem but now i have removed its reference from the page with same result happening.
kaliem
Posts
-
Opening new window from C# code -
Opening new window from C# codeHi All, I tried to open a new IE window from C# code and it works for any sample website. However, the same code doesnt work for ajax enabled website. I have removed ajax by deleting <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> from .aspx but still it doesnt work, any clues ??? Do i need to remove something more than that ? Here is my code for opening the new window that works on pages other than my website page: string strQS = "http://www.yahoo.com"; StringBuilder strScript = new StringBuilder(); strScript.Append(""); strScript.Append("window.open('" + strQS + "', \"\",\"height=100,width=400,left=0,top=0,toolbar=no,menubar=no\");"); strScript.Append(""); ClientScript.RegisterClientScriptBlock(this.GetType(), "subscribescript", strScript.ToString()); I would appreciate your help. Thanks Knowledge is knowing a tomato is a fruit. Wisdom is not putting it in a fruit salad.
-
http to https: URL RewritingHello All, Can someone help me with this: I need to convert http URL of my website page to https (to achieve secure payment pages), Can you please suggest what i need to add to web.config to achieve this functionality. Thanks Kaliem
-
Downloading file from remote locationthanks for that, yes the file is accessible from http. Yet to implement that code but my guess is, it would prompt the user to download that file. Is that possible if we can just save the file in a specific place instead of prompting. Kaliem
-
Downloading file from remote locationBoth! I want to be able to access files over my network and internet. like the file URL would be something like ipaddress/foldername/filename.xls
-
Downloading file from remote locationah sorry, I forgot to inform, I am trying this with windows forms application, not web application, I guess incase of web, you can also do that using Response object, but I am looking for some control/class/library in windows app. kaliem
-
Downloading file from remote locationHi all, I want to download an xls file from remote location (Please note that its not FTP , its live ip, like myip/shared/info.xls) .I have been searching for any class or library but no success till yet. Can someone help me ? Thanks in advance. Also, please guide how to open an excel file for reading data from it. Thanks Kaliem
-
Having personal projects.Well, I think not all documentation activities can be considered on same level, RS/FS is must(obviously), documenting any specific problem that I encountered would be good if we have some relaxed timelines, otherwise we can skip it , no ? after all , 40 hours per week SHOULD be the limit .... and for documenting architecture things upto a deep level , well i dont think its of worth ... is it ? (btw, a debate is scheduled in our office over Documenting issue in next week ;P) I have learnt most in my personal projects... cuz you have to go through all software life cycle (though its small) yourself, and my employers consider it for their bonus....
-
Google Earth roads mis-aligned[lil out of context] Google Earth uses Google Map API ??? some one to please update. btw, try this Google Map Application , its cool... 1) Go to maps.google.com 2) "Get Directions" 3) "London" in first text box and "New York" in second. 4) Read Step # 37. Lemme quote it: "Swim across the Atlantic Ocean 3,462 mi" :-D Can you try it ;P
-
Yeah!! [Cricket]jith - iii wrote:
Is world cup still continuing....I didn't realize
yesss, hotter patch is yet to come...hmmmm...
-
Database compare tool ???yeah, Frequent changes are bad, But I am asking any tool which can help, no matter one change it rarely!
-
Database compare tool ???Idealy: NO , Practically: Yes cuz you cant guarantee whats next Change request :)
-
where the database is located?I assume any reply here would count a reply to this thread and anyone can view it. Sorry for any confusions. Yeah, relying on default folders is not good. Because of nature of that query, I wanted be more specific. Chill out :)
-
where the database is located?I assume you are asking for your database MDF file location , Under default installation settings, its in C:\Program Files\Microsoft SQL Server\MS SQL 1.0*\Data * dont remember it exactly Unless you change your installation folder, files are placed here by default (no matter if SQL 2000 and 2005 are both installed on your machine).
-
SQL Server 2000 and 2005 [moved]"We can't install lower version of SQL Instance, if we have higher version in it" its not the case. We can still install lower version, yeah some unexpected problems might happen and sometimes , you have to break head with the nearest wall. In my case, I installed SQL 2005 Express and then SQL 2000 Enterprise on my machine, When i tried running DotNetNuke there, it said "Failed to generate server instance of SQL Server" something like that. Recommended: I think you better use only one , or if you want two, go from 2000 to 2005. Btw, 2007 is in line now :)
-
Database compare tool ???Hi, Our system is up and running with the client , but we often need to make many changes in Database structure (Add/Modify views,tables,SPs etc). Now every time we make an update here, we need to keep our database definitions consistent with client's version of DB. Can you please suggest some useful tool which can compare Database definitions and points out all differences. P.S. We used Database Comparator before. But its not very efficient. We added & re-ordered coloumns in a View and it couldnt track that change. Any help is appreciated. Thanks "Learn from the mistakes of others... you can't live long enough to make them all yourselves!!"
-
Using Button in GridViewJust to add, I am developing windows forms application and I can not capture OnClick event on button coloumn in grid view... kaliem
-
Using Button in GridViewHi, I want to use a Button in GridView. I am adding a GridViewButtonColoumn but i dont know how to capture its OnClick event. Please help me what to do ? Thanks kaliem
-
How to save TextBoxes' values in GridView (on PostBack)Hi , Can anyone help me in this problem ... I am popuating three textboxes in a GridView from my DB ... Now, I want to change values in these textboxes and save all rows when User presses 'Update' Button. What happens is , when 'Update' is pressed, there is PostBack on the page and all values in TextBoxes are shown as Null ..How can I save my previously displayed values in TextBoxes ?
-
Creating Un-Installer application in C#to be specific, I want to develop Un-Installer in .NET ....