|
i have used some java script to disable right click to our web application. this is wrriten in master page. so its effects to all pages. but i need it enabled in a particular page.
can any body has some idea ?
please help.
cheers,
Abhijit
|
|
|
|
|
Create a separate master page which don't have this restriction and use that in all pages where you don't need restriction.
|
|
|
|
|
|
Abhijit Jana wrote: [D'Oh!] [D'Oh!] [OMG] [WTF] [Frown] [Frown]
Means ?
|
|
|
|
|
How can i close all popup window on a linkbutton click ?
i want , if session expire in Popup windows when user click on please login again , user should redirect to main login page . currently my login page comes inside the popup .
please any idea !!!
Thaks in advance.
cheers,
Abhijit
|
|
|
|
|
For the popup page, when session becomes empty, don't redirect to login page. Show a message indicates session expired and need to relogin with a link to relogin. When the link is pressed, handle the click event in JS and set the URL of parent window to your login page's URL and close the current page (popup).
|
|
|
|
|
N a v a n e e t h wrote: When the link is pressed, handle the click event in JS and set the URL of parent window to your login page's URL and close the current page (popup).
First of all our exception comes is a singale page. e.g [ MyException.aspx ] and only message is different for different exception . so it may comes in main window or may in popup windows.
so how can i come to know that the current window is a popup windows and how to resolve the situation
Parent - > Popup ->popup [ Exception here ]
please help !!!
cheers,
Abhijit
|
|
|
|
|
Abhijit Jana wrote: Parent - > Popup ->popup [ Exception here ]
Ok so you are showing popup from a popup ? I don't think that you can find out window is popup or not. But you know which page you will show in the popup right ? then in that page show re-login message without redirecting to login page.
|
|
|
|
|
|
Hi Navaneeth,
Please help to my recent post.
Thanks in advance !!
cheers,
Abhijit
|
|
|
|
|
Ohh sorry, I don't know that.
|
|
|
|
|
hi every one
actually i have a user control in which i have 4 textboxes and one fileupload control .so that user can upload his photo.
and in my application whan user select from drop down box 1,2,3,4 then according to this usercontrol generate .and user submit the data and at page three all the data and pictures of the user shows.
all have done .but i have a prob.
at this time i dont have fileupload control in usercontrol .now i want fileupload control in usercontrol .so tell me how i can retrive ,submit the pic at page two by using page2 .
how to set the property in usercontrol .
and use in second page .
plz advice
thanks
|
|
|
|
|
hi every one
actually i was running my page .it was running properly .
but now its running but blank sceen show .
and the url also changed :
http://localhost:2034/acc_dealerprofile/(S(hnfydbmat11s2qffq3353055))/Default.aspx
i dont know what is going on.
(S(hnfydbmat11s2qffq3353055)
why this add with the url .
plz tell me.
thanks
|
|
|
|
|
Do you have cookie disabled ?
gaurav mangal wrote: (S(hnfydbmat11s2qffq3353055)
Looks like the session id passed along with URL as cookie is disabled.
|
|
|
|
|
ok
i have solved the problem
thanks
|
|
|
|
|
<td>
<asp:RadioButton GroupName="Hotel" ID="rbtnSelect" runat="server" ></asp:RadioButton>
</td>
in below written code in DataList I am using radio button now suppose 3 records are coming but I want to check any one radio button only but
right now It is allowing multiple checked.
<asp:DataList ID="DataHotel" runat="server" Width="100%" CellPadding="0" CellSpacing="0">
<HeaderTemplate>
<table width="100%" style="background-color: #f5f4f4">
<tr>
<td colspan="4" style="background-color: #b5f0a0; font-size: 15px">
Hotels</td>
</tr>
<tr>
<td></td>
<td>
<b>Hotel Name</b></td>
<td>
<b>Lowest Average Rate</b></td>
<td>
<b>Highest Average Rate</b></td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<asp:RadioButton GroupName="Hotel" ID="rbtnSelect" runat="server" ></asp:RadioButton>
</td>
<td>
<%# Eval("HotelName") %>
<asp:HiddenField ID="hdnNAME" runat="server" Value='<%# Eval("hotelID") %>' />
</td>
<td>
<%# Eval("lowestavgprice")%>
</td>
<td>
<%# Eval("Highestavgprice")%>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:DataList>
You get the best out of others when you give the best of yourself.
|
|
|
|
|
just give the grupname same to all
cheers,
Abhijit
|
|
|
|
|
It is not like that.
I am taking this control once inside DataList and howmany times it will come depends upon no. of records fetching from database.
when I am taking groupname="Hotel" then also It's considering separate.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
|
iam having the DataValueField of the item in the dropdownlist.now how can i remove the ddl when its value is known
|
|
|
|
|
something like this:
foreach (ListItem item in ddl.Items)
{
if (item.Value.Equals(ddl.SelectedValue))
{
ddl.Items.Remove(item);
}
}
|
|
|
|
|
Hi frndz,
How do i get the warning message when i enter a text in text box?
Thanks in advance
|
|
|
|
|
AFAIK, it's not possible to do in web application.
|
|
|
|
|
N a v a n e e t h wrote: AFAIK, it's not possible to do in web application.
why not ? we can do it using java script.
cheers,
Abhijit
|
|
|
|
|
Abhijit Jana wrote: we can do it using java script.
I didn't knew that. Thanks for posting.
|
|
|
|