|
Are you using javascript modal dialog?
|
|
|
|
|
im using modal popup of the ajax controls......
|
|
|
|
|
There are several ways to do this,You can access the control of parent window from popup.So you can assign the value to parent window.
For making it generic,Have some property in your popup usercontrol assign the id control on parent window to it and access it as you want.
|
|
|
|
|
in windows what we do if we display a popup window with showdialog() method, after returning control to parent window code starts execution from there so it becomes easy to asign the value of popup window controls to parent window controls. how to do it here in web
|
|
|
|
|
On click of OK button of your popup window you can pass the value in parent control from popup itself
|
|
|
|
|
on parent page
<script type="text/javascript">
function OpenPopup() {
window.open("popup.aspx","List","scrollbars=no,resizable=no,width=400,height=280");
return false;
}
</script>
on your user control
<script language="javascript">
function GetTextboxValue(val)
{
window.opener.document.getElementById("ctl00_ContentPlaceHolder1_TextBox2").value = val;
window.close();
}
</script>
|
|
|
|
|
Your user control should expose an event. Each page that uses the user control should listen for that event and in the handler for it set whatever values you need set.
|
|
|
|
|
Hi guys, tryn use the MS Sql LIMIT claus but not returning any values at all.
I tried both this but none return any values:
1. string query = @"SELECT * FROM [contact] LIMIT 0, 10 WHERE [user_id] = '" + userid + "'";
2. string query = @"SELECT * FROM [contact] WHERE [user_id] = '" + userid + "' LIMIT 0, 10";
I tried to use the OFFSET, but no luck either....
So far i have 30 sample contacts and would like to retrieve them 10 each
and none of the two statements are returning any record...
Anyone see my mistake here? please help...
Thanks,
Morg
|
|
|
|
|
As far as i know there is nothing like LIMIT in MS Sql Server.
You need to use other techniques.
|
|
|
|
|
|
See the below link
Link
there is Limit clause in MS SQL
|
|
|
|
|
|
Thanks man
|
|
|
|
|
Hi Guys,is there any silverlight-wcf expert in this forum?Please visit the silverlight message board and reply to the first message titled "Silverlight WCF issue"...plz plz plz...It seems very few people visit that message board.
<font style="color:Green;font-family:Courier New;font-weight:bold;">C</font><font style="color:Blue;font-family:Courier New;font-weight:bold;">C</font><font style="color:Pink;font-family:Courier New;font-weight:bold;">26</font>
|
|
|
|
|
hi,
I want to develop an application to remaind me to fill timesheet everyday.
Please can guide me how to develop this application.
But i am planning to develope this application using Dotnet technology.
|
|
|
|
|
Are you planning to use ASP.NET aor windows application?Its better if you use Windows one.
|
|
|
|
|
you can develop an windows application which shows a messagebox in the form load reminding u of filling up the timesheet.And schedule that application using windows scheduler at your desired time.
<font style="color:Green;font-family:Courier New;font-weight:bold;">C</font><font style="color:Blue;font-family:Courier New;font-weight:bold;">C</font><font style="color:Pink;font-family:Courier New;font-weight:bold;">26</font>
|
|
|
|
|
Second person.... Hey u guys first try yourself and then ask the problems occured during the development....Just try...
|
|
|
|
|
How To Move PDF Up & Down by mouse which is in Iframe
|
|
|
|
|
|
Hi Sir,
I want to add an facility to my application that if a user is login with user id Admin from pc-1 and then at the same time another user is login with same user id Admin from pc-2 then user on pc-1 should be log out and should have a message "You Have Been Signed Out.As Another User Has Signed In With Your UserID".
please help me.
one more issue is that if user does not logout and directly close the browser then user should be logout.
|
|
|
|
|
One way to do implement this functionality, that whenever a user login make an entry in DB as a loggedin user, once another user try to login with same user, allow to him for login but at the same remove the netry fro first user, and on evry postback check from whether the user has entry in db, if not then make him logout.
Its better I think if a user has logged in from one pc then dont allow from other pc , just show a message a user has already loggedin.
|
|
|
|
|
Brij wrote: Its better I think if a user has logged in from one pc then dont allow from other pc , just show a message a user has already loggedin.
Yes I am agree with you brij. Other wise its unnecessary hitting of DB on every post back which impact badly on performance.
Cheers !
Abhijit Jana | MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
hi sir,
if you never mind sir.i want your yahoo id
thank you very much sir.
|
|
|
|
|