|
I also have this problem, I think there's wrong w/ how you use the service, not the service itself.
|
|
|
|
|
Hi peoples,
I am opening a window by following code,
function mypopup()
{
mywindow = window.open("Bulk_Insert.aspx", "mywindow", "toolbar=no,location=no,directories=no,status=no," +
"menubar=no,scrollbars=no,resizable=no,width=500,height=300");
mywindow.moveTo(100,200);
}
i have 3 questions here
1) i want to make this window as modal window so that the user cant access the parent page
2) i gave resizable to NO, but the widnow is allowing the user to resize, even the status bar is also coming at bottom
3) and i need to get some input from that modal window(page) to my parent page
please help me,
|
|
|
|
|
All the thing that you are trying to build using window can be done easily using AJAX Modal PopUP Window or you can use DIV to implmement such functionality
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hii ,
Is there anyway to do photo tagging , just like we see in orkut and facebook.
With Warm regards
|
|
|
|
|
|
Hi,
can i use "System.Windows.Forms.RichTextBox" in asp.net. If yes then, How can i do this?
Thanks,
Sonia
|
|
|
|
|
No... Browser just knows Html. So you need to find one equivalent Richtexteditor built using Html.
Why dont you try HTML Editors ?
Might try Yahoo RichText editor, Its free and easy to implement.
http://developer.yahoo.com/yui/editor/
Cheers.
|
|
|
|
|
Thanks for your reply, in html editors we can assign different colors to text by selecting the text and then choosing the color for it, but i want to select and color the text programmatically. How can i do this.
Sonia
|
|
|
|
|
Yes why not.
html richtexteditors generates proper html and places it in the editors.
HTMLs can easyly handle colors and if the API supports color of text for the editor you are using, it is easily possible.
|
|
|
|
|
you can even use FreeTextBox or FCK Editor
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
Sir,
How to make connection to the SQL Server 2005 & to call stored procedure in JAVASCRIPT using disconnected architecture?
|
|
|
|
|
No.. It cant directly call using JAvascript. Rather you could put a handler which will call the stored procedure and return the output. Call the handler using AJAX.
|
|
|
|
|
I have a linkbutton. I set its oncontextmenu attribute to a javascript function.
It seems like when the name of the function and its parameters' names are long, I get an error.
When I replace my function with: f(1,1,1,1) I get no errors.
both the first and the second functions perform the same simple thing : alert('hi');
|
|
|
|
|
Why dont you create your html yourself.
Check what is put in the html using view -> page source to inspect what is going wrong with the javascript element.
|
|
|
|
|
Hi Team,
I am having problem with window. I am having one path I am taking in String. On button click I am calling Response.Redirect (str) where str=path of the url.
I need to open the url in another browser how to do this?
Thanks in Advance
|
|
|
|
|
To open in a new browser window, you should use
window.open rather than Response.Redirect .
Response.Redirect works in Server side, so it just replaces the url you called with the url you redirect for.
If you want this to open in a new window, either write a javascript block element in the button_click (You might use this.ClientScript.RegisterStartupScript ) from the server, or you may use javascript directly from the client to open in a new window and call the url from the new window using onclick="javascript:window.open('url.aspx','');" like this.
Cheers.
|
|
|
|
|
use the following code to open a new window
window.open('pagename.aspx', '_blank');
If you want to open a window with specific size then use
window.open('Pagename.aspx', 'Help', config = 'height=800,width=1013,left=' + left + ', toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, directories=no, status=no');
Pankaj
|
|
|
|
|
hi,
I have made one stored procedure for adding and updating some data in the table "tbClients" .
I want to enter the current date in the column "PurchaseDate" Column using parameter "@PurchaseDate" while executing the stored procedure.
The query is something like"
exec Emp_Sp_AddnUpdate @ClientCreditId='0', @ClientId='12',
@PurchaseDate='12/21/2009',
@Amount='2000',
@Narration='This ia just an example',
@Credits='234.54';
In the above statement at the sql server 2005,
there is an error "Error converting data type varchar to int."
plz help
thank you
|
|
|
|
|
Well...
Remove the quote of all the integer fields. I mean if @ClientId is int field, place like @ClientId=12 .
Are you executing this in Query Analyser?
Also, Is it by any means related to ASP.NET ??
Why did you put it here?
|
|
|
|
|
Hi all,
I converted one web application(Vb.Net) created in VS2005 Framework 2.0 to VS2008 framework 3.5. (This application is using Reportviewer8.0) After convertion I cant build the application,always getting the below error.I use MSBuild to build the application,got the same result.The details of the versions I am using is given below
Visual Studio 2008 Version 9.0.30729.1 SP
MS Dotnet Framework version 3.5 SP1
OS windows XP
cd ..\..\..\..\
DeployMyProj.bat
'DeployMyProj.bat' is not recognized as an internal or external command,
operable program or batch file.
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: The command "cd ..\..\..\..\
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(3397,13): error MSB3073: DeployMyProj.bat" exited with code 9009.
Done building project "MyProj.vbproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If you have any queries please let me know.thanks
|
|
|
|
|
ebin roy wrote: 'DeployMyProj.bat' is not recognized as an internal or external command,
operable program or batch file.
Does this message suggest anything to you? Obviously this file cannot be found in the directory that you have just moved to; I would check your build commands.
|
|
|
|
|
Path is not perfect.
Check the current directory where you are in. cd ..\..\..\..\ should be relative to your bin directory.
|
|
|
|
|
Thank you guys! The problem was due to change of the folder.So I deleted the current solution file and created new the solution it works fine. Thanks
|
|
|
|
|
Hi,
Is there any method to generate multiple columns in a dropdown list(asp.net 2.0)
Waiting for quick reply
Known is a drop, unknown is an ocean
|
|
|
|
|