|
ya i am familiar to master pages but actually i am having an html template
i want to use it in asp .net
can u pls tell me the procedure
or some useful links
|
|
|
|
|
What is the best way to avoid connection, or thread pool limitations for my application? And am I doing it correctly?
I'm designing my own chat. It's necessary because my design is very different from any available out there. Because of the new security features in IE I can't use a different server than my website server for processing chat requests. I'm forced to combine my web app with my chat server.
So, my plan was to use ajax to make a page request. The page would then use asp.net 2.0's asynchronous pages feature to start a new thread and release the Thread that processes page requests. Then my plan was to have the thread wait until a new message comes in if I have no messages to send to the client immediately.
My two main uncertainties are this:
1) How do I best wait for new messages? Should I use a wait and notify? Should I use a WaitHandle(never used it before). Will I run out of threads in the thread pool from using these methods because they block? Is there a way to wait and release the threads at the same time?
2) Is there a limit on the number of connections that can be made to a web server. I want every client on my website to be able to receive notifications of new chat messages immediately, without polling. So, am I doing it right or should I use some sort of callback method that doesn't keep a connection open. is that possible???
|
|
|
|
|
DataTable tbl1 = dt.filltbl("select * from tbl_issue_type where id=-1", "new1");
DataRow row1 = tbl1.NewRow();
row1["issue_type"] = txt_issue_type.Text;
tbl1.Rows.Add(row1);
dt.update(tbl1, "select * from tbl_issue_type");
Page.RegisterStartupScript("myrest", "<script>alert('New issue was added successfully');</script>");
Page.RegisterStartupScript("myqd", "<script>window.opener.location.reload();</script>");
Page.RegisterStartupScript("abc", "<script>window.close();</script>");
window.opene.location.reload(); not work in my pge
actually i want to refresh my dropdown list box item after add button click my above return code is work and add new entry in database and after that i want that new value show in my dropdown list box.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Hi,
why don't you use an update panel and do it from server side?
Intelligence is almost useless for those who have nothing else!
Email: caiokf@gmail.com
|
|
|
|
|
how i use update panel on this because when i click on link button a new window open through javascript and when form is return from close i want that in my drop down new value should be store?
please tell me how to do this? using ajax or any thing else
thanks for reply.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Tell the browser to load the page from the server, not just reload it from the cache:
window.opener.location.reload(true);
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.
this information is shown in confirm box when i use as u suggest.
two buttons are there resend and cancel.
what to do now?
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Ok, then you need to post a form to the page to recreate it. Does the page have a form that you can use for this?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
I think you are using AJAX on this Page.Please register the javascript event with scrip manager as
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), this.ClientID, "ShowMessage();",true);
Cheers!!
Brij
|
|
|
|
|
why you are not using __doPostBack insted of window.opener.location.reload();
hope this thing help you
Mohd Azharuddin Ansari
Syntel Pune
|
|
|
|
|
Hi all,
I am trying create a websetup project for my website. My requirements are
1. I have to check whether SQL Server 2005 is exist in the Client System . If not exist, the setup should terminate.
2.Registration key validation, for that I have to generate a key1 this will be shown in registration form(in label) to user, then user have to enter key2(In a text box). I have to validate the key2 entered by the user.
3. Providing desktop short cut icon. If user clicks on icon, it should open home page of my website.
4. Providing Programs menu shortcut, functionality same as above 2.
5. After copmpletion of installation, i have to show Reade document by providing Button[ReadMeFile] ,if user hits this button i have to open the ReadMe Document.
6. I have move My DataBase files(.ldf &.mdf) to directory [Program Files]\Microsoft SQL Server\MSSQL.1\MSSQL\Data , I have to change the Connection string of my web.config page.
7. I heve to Insert Some values into DataBase table.
8. If any thing fails, i have to roll back/uninstall all files.
Please suggest me how to do websetup for above my requirements.
Thanks in advance.
modified on Thursday, September 25, 2008 3:33 AM
|
|
|
|
|
Sounds like someones homework gone wrong again.
I don't think you are even sure what you are doing.
- You do NOT deploy a website to a users PC, you deploy it to a web server such as IIS.
- The database should be on the server, not the users PC.
- A web site doesn't have licences etc.
Take your homework back and clarify your requirements, then do it.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Could you please help me in doing websetup for my above reuirements.
|
|
|
|
|
No, for the reasons I've already stated, or to put it even more simply, IT CAN'T BE DONE.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
i have given a search option in my web page, i'm opening new window to display the calender control..
My problem is When i close the Main window the calender control window is still opened..
how can i close the child window, when the parent is closing...
this im using to check the closing of browser
var requireConfirm = true; <br />
<br />
window.onbeforeunload = function()<br />
{<br />
if(requireConfirm)<br />
{<br />
<br />
}<br />
}
if the calender window is opened i need to close that window before exiting the browser..
please help me asap..
thanks in advance
skvs
|
|
|
|
|
Open it in a modal fashion?
|
|
|
|
|
hi Paddy Boyd..thanks for reply.
this is how im opening it...
window.open('Calendar.aspx','calendarPopup','titlebar=0,left=470,top=100,width=300,height=225,resizable=0, toolbar=0,menubar=0,location=0, directories=0');<br />
Can u suggest me how to open it in a modal fashion.. so that when parent window is closed, the Calender.aspx window should also be closed..
|
|
|
|
|
http://javascript.about.com/library/blmodal.htm[^]
function modalWin() {
if (window.showModalDialog) {
window.showModalDialog("xpopupex.htm","name",
"dialogWidth:255px;dialogHeight:250px");
} else {
window.open('xpopupex.htm','name',
'height=255,width=250,toolbar=no,directories=no,status=no,
menubar=no,scrollbars=no,resizable=no ,modal=yes');
}
}
Venky
|
|
|
|
|
skvs wrote: Subject:Hi..
That is not the proper subject of your question.
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
window.opener='self';
window.close();
or use.
function closeAllchildren()
{
for(var n=0;n<children.length;n++)>
{children[n].close();
}
//Oh, and close self!
window.close();
}
Kaushik Rabadiya
|
|
|
|
|
hi friends
i want to login automatically into gmail and achieve some information about it.
i want to login automatically into gmail with calling click event of sigin button.or anyelse to force wb page to do action for checking username and password?
how can i do it?
nobody help you...
you have to help you yourself
and this is success way.
|
|
|
|
|
until you dont that have the api that used by GMAIL you cant do
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
I am loading aspx page with in div tag of another aspx and im using scriptmanager.First time im loading this in page load event and its loading fine then i'm loading Same page by changing value in dropdown here i got this Error
The State Information is invalid for this page and might be corrupted.. I dont know why this error occur and how to fix this.
Please help me...
Cheers..!
Vijay s
|
|
|
|
|
Please Answer my Questin in my assignment:
Identify functional and nonfunctional requirements from the following description
The allocation of staff to production lines should be mostly automated. A process will be run once a week to carry out the allocation based on the skills and
experience of operatives. Details of holidays and sick leave will also be taken into account. A first draft allocation list will be printed off by 12.00 noon on Friday
for the following week. Only staff in production planning will be able to amend the automatic allocation to find-tune the list. Once the amendments have been
made, the final Allocation list is printed out by 5.00 pm. The system must be able to handle allocation of 100 operatives at present, and should be capable of
expansion to handle double that number.
|
|
|
|
|
do.
your
own.
homework.
We'll be happy to help on specific coding issues you may have, but we wont do it for you.
|
|
|
|