last day (14 days later) » 

10:01
@MAD4RA hey
heya i can show it to u
do u have a tv ?
i mean teamviewer ?
first try this
leme chk
k
still a no go @Neha :/
is it because my page refreshes every 5 seconds ?
10:04
@MAD4RA okz
I got this
the page refreshes at the click of the button but i cant see the popup
let me show u the ss
and thank you for the help @Neha, i hope im not disturbing you too often
@Neha thats what i get
@MAD4RA no.. it's nice for me to work with issues
good to hear that :)
even when i press the button the page refreshes
but hte popup doesnt appear
can you give your complete aspx side of page
one second
@Neha will that suffice ?
10:12
hopefully
place your scriptmanager tag just after body tag
that's first you should do
i get an error if i do that
Control 'sm' of type 'ScriptManager' must be placed inside a form tag with runat=server.
.
what error
yeah.. I mean first after form sorry
omg
.. have you seen once your code
what is it ?/
PopupControlID="pnlmodal"
<asp:Panel ID="Panel1"
argh
lol
leme chg it
10:16
ohh wait
my mistake
remove panel1 there
that entire block >
?
will you just test a bit to change you popupcontrlid to panel1 if it is workin
kk yea chkin that
not working still :|
@Neha wanna chk out via Team viewer ?
wait
I dnt have TV overe here
10:23
I currently swiched to new place
otherwise, I ll give you implemented code
kk :)
my boss gave me this code and told me to add loads of stuffs to make it look good
too bad the code is too complex for me to understand
and im the only programmer in my company
@MAD4RA okz.. no issue. Even I worked lot with ajax control but it is since two year back story
oh so u must be an expert :P
not an expert.. but I love to work
haha :)
10:27
ok back to here
<table class="MarketPlace" width='100%'>
<colgroup>
<col width="30%" />
<col width="40%" />
<col width="30%" />
</colgroup>
<tr>
<td valign="top">
<div id="divWidSupplier" class="MarketPlaceWidgets">
<div class="MarketPlaceWidgetHead">
Supplier Marketplace</div>

<asp:ScriptManager ID="sm" runat="server">
</asp:ScriptManager>
<asp:Button ID="btnShow" runat="server" Text="Show Modal Popup" />
<!-- ModalPopupExtender -->
<cc1:ModalPopupExtender ID="mp1" runat="server" PopupControlID="Panel1" TargetControlID="btnShow"
yae'=
try to replace this
runnin it
@MAD4RA u understand what to replace
ok
Server Error in '/SupplyChain' Application.

Only one instance of a ScriptManager can be added to the page.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
shouldl i remove the script manager in the form ?
10:30
ohh remove after form we have placed or from here in div
any1
still the same :/
i removed the scriptmanager after the form
comin in while my TL called
..
11:00
back am
@MAD4RA there?
yead
yeas
ok so done?
ya like u said i removed one of the script manager and ran it, it still is the same :/
try to get some z-index might be it is popup bt nt coming over d screen
it is smooth at my end
oh
hmm
i did a z-index:-1; and it still is the same
11:05
do you have firebug
try to debug from it
one sec
is your display prop is changing when you click on link
no the page just reloads
@MAD4RA ok.. remove ajax dependencies we go for other thing to display popup my favourite & also implemented that
ok someother method then ?
11:09
pure css & javascript
no ajax
kk
any links :) that i should look around ?
wait givin you workin
implementin on page..
voky
11:24
@MAD4RA vfirst copy this
to your header
within the head sectoin right ?
ya
& place in Scripts/ folder
I dnt knw if you have ant jq version file in ur app
yea i alraedy have jquery
1.4.1
ok... then include that one change script line to ur version
yea i have included it
11:27
<script src="Scripts/jquery-1.3.2.min.js" type="text/javascript"></script> in my code replace with your
<script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
i have that ^^
awsum dnt place mine then remind ok
done till
11:29
now in ur form replace with this
<div class="MarketPlaceWidgetHead">
Supplier Marketplace</div>


<asp:Button ID="btnShow" runat="server" Text="Show Modal Popup" OnClick="btnShow_Click" />
<!-- ModalPopupExtender -->
<div id="mask">
</div>
<asp:Panel ID="pnlpopup" runat="server" BackColor="White" Height="175px"
Width="300px" Style="z-index:111;background-color: White; position: absolute; left: 35%; top: 12%;

border: outset 2px gray;padding:5px;display:none">
<!-- ModalPopupExtender -->
<asp:Button ID="btnUpdate" CommandName="Update" runat="server" Text="Update" OnClick="btnUpdate_Click" />
done?
sec
yeas
done../
on server side in .cs of ur page
place this protected void btnUpdate_Click(object sender, EventArgs e)
{
Popup(false);
}
//To show message after performing operations
void Popup(bool isDisplay)
{
StringBuilder builder = new StringBuilder();
if (isDisplay)
{
builder.Append("<script language=JavaScript> ShowPopup(); </script>\n");
Page.ClientScript.RegisterStartupScript(this.GetType(), "ShowPopup", builder.ToString());
}
else
{
builder.Append("<script language=JavaScript> HidePopup(); </script>\n");
Page.ClientScript.RegisterStartupScript(this.GetType(), "HidePopup", builder.ToString());
yaep
done that too :_
server end? too
yea
11:35
ok enjoy run ur code
when i try to run it, it shows me some css errors
lol
what's dat
I just get it done with no issue
@MAD4RA error??
@MAD4RA there??
yes
finally lol
came
thanks a lotttttttt @Neha, will remember u forever lol
it's done
workinggg
yea :) but i have to adjust the height and width of teh popupwindow :D
11:41
that you can..
yeppeeeeeeeeeeee
partyyyyyyyyyy time
haha
all thanks to u
I love me muuaahhh
:D
haha
u da expert :P
:p
thanks
bt am not
thanks to u givin me such & remind my strength
bbyyyee
lol
okay bbye tc

last day (14 days later) »