|
Hello,
I am using an an asp.net menu control in a web site and for any top-level menu item that has children the word "expand" shows up under the menu and the user has to click on this to see the submenu. this behavior is only in Safari...any advise?
here's the link to see the problem:
http://www.gordonsestateservices.com/Gro2CMS/TestSite/GordMasterTesting.aspx
thanks for any and all help!
Pete
|
|
|
|
|
i have an application with login control.
if the user(for example: user1) is loged on, i want to deny login access for this user if that is loging from another pc
We Can Do Anything, If We Want It
|
|
|
|
|
You can use Membership.GetAllUsers() .
Mazy
"This chancy chancy chancy world."
|
|
|
|
|
MembershipUser.IsOnline would be more direct.
only two letters away from being an asset
|
|
|
|
|
Hi All,
My application has three frames---top,left and right frame. My aim is, on clicking links in the top pane i have to load the right frame with other external pages(say:- "www.codeproject.com","www.yahooo.com",etc).
I can load the first page but when i 'm trying to load the next pages i get a javascript error "Access Denied".
Can anyone help me sort it out?
Thanks & regards,
Jeeva
|
|
|
|
|
Paste that javascript here we will check it out.
Regards,
Satips.
|
|
|
|
|
|
I have stored all my files in the database as bytes. And i use response.outputstream.write to display those files. I want to disable the right click option on the particular .aspx file which displays the file. How do i achieve it.
Mak
|
|
|
|
|
You can emit document.onContextMenu=function () { return (false); };
|
|
|
|
|
very urgent
hello guys,
i iam in great problem please help me
my problem is that i want to fetch record between two date
my date feild is in varchar and i have seprated that date in three fields
dd1,mm1 and yy1 as int .
when the month is same and first date is lower than second date this works ok
but when the month is different or day1 value is greater than second day
this show unnessasary record
my code is this
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Me.WindowState = FormWindowState.Maximized
Me.MinimizeBox = False
Dim strd1 As String = DateTimePicker4.Value.ToShortDateString()
Dim strd2 As String = DateTimePicker3.Value.ToShortDateString()
Dim dd1 As Date = CDate(strd1)
Dim dd2 As Date = CDate(strd2)
day1 = dd1.Day
month1 = dd1.Month
year1 = dd1.Year
day2 = dd2.Day
month2 = dd2.Month
year2 = dd2.Year
If (day1 >= day2 And month1 <= month2) Then
swapday = day2
day2 = day1
day1 = swapday
swapmonth = month2
month2 = month1
month1 = swapmonth
End If
'If (day1 <= day2 And month1 <= month2) Then
str1 = "{ViewPartyOrder.pcode}='" & ComboBox2.Text & "' and {ViewPartyOrder.dd1} >= " & day1 & " and {ViewPartyOrder.dd1} <= " & day2 & " and {ViewPartyOrder.mm1} >= " & month1 & " and {ViewPartyOrder.mm1} <= " & month2 & " and {ViewPartyOrder.yy1} >= " & year1 & " and {ViewPartyOrder.yy1} <= " & year2
'ElseIf (day1 >= day2 And month1 <= month2) Then
' str1 = "{ViewPartyOrder.pcode}='" & ComboBox2.Text & "' and {ViewPartyOrder.dd1} <= " & day1 & " and {ViewPartyOrder.dd1} >= " & day2 & " and {ViewPartyOrder.mm1} <= " & month1 & " and {ViewPartyOrder.mm1} >= " & month2 & " and {ViewPartyOrder.yy1} >= " & year1 & " and {ViewPartyOrder.yy1} <= " & year2
'End If
Dim myTableLogonInfos As New TableLogOnInfos
Dim myTableLogonInfo As New TableLogOnInfo
Dim myConnectionInfo As New ConnectionInfo
With myConnectionInfo
.ServerName = ConfigurationSettings.AppSettings("servername").ToString()
.DatabaseName = ConfigurationSettings.AppSettings("databasename").ToString()
.UserID = ConfigurationSettings.AppSettings("username").ToString()
.Password = ConfigurationSettings.AppSettings("password").ToString()
End With
myTableLogonInfo.ConnectionInfo = myConnectionInfo
myTableLogonInfo.TableName = "ViewPartyOrder"
myTableLogonInfos.Add(myTableLogonInfo)
Dim ir As New Itemwisereport
Dim Help As New Mentor
Dim strorderdate As String = DateTimePicker4.Value.ToShortDateString
Dim strorderdate1 As String = DateTimePicker3.Value.ToShortDateString
If (RadioButton1.Checked) Then
ir.RecordSelectionFormula = "{ViewPartyOrder.partyname}='" & ComboBox2.Text & "' and {ViewPartyOrder.dd1} >= " & day1 & " and {ViewPartyOrder.dd1} <= " & day2 & " and {ViewPartyOrder.mm1} >= " & month1 & " and {ViewPartyOrder.mm1} <= " & month2 & " and {ViewPartyOrder.yy1} >= " & year1 & " and {ViewPartyOrder.yy1} <= " & year2
ElseIf (RadioButton2.Checked) Then
ir.RecordSelectionFormula = str1
ElseIf (RadioButton3.Checked) Then
ir.RecordSelectionFormula = "{ViewPartyOrder.pdesc}='" & ComboBox2.Text & "' and {ViewPartyOrder.dd1} >= " & day1 & " and {ViewPartyOrder.dd1} <= " & day2 & " and {ViewPartyOrder.mm1} >= " & month1 & " and {ViewPartyOrder.mm1} <= " & month2 & " and {ViewPartyOrder.yy1} >= " & year1 & " and {ViewPartyOrder.yy1} <= " & year2
End If
CrystalReportViewer1.LogOnInfo = myTableLogonInfos
CrystalReportViewer1.ReportSource = ir
CrystalReportViewer1.RefreshReport()
End Sub
urgent
|
|
|
|
|
When you posted this and you got the warning that your message was very long and you should consider cutting it down, did you actually pay any attention?
I'd love to help, but I'm not going to read through all that. If you have a specific question then we'd love to help.
What error you got tell it here we are here and we will help you in solving your error.
Regards,
Satips.
|
|
|
|
|
hello sir
my prob is that i m giving input two date from datetimepicker
and i want to fetch all the record between these date where as
orderdate is stored as varchar datatype in the database. and i m
applying this formula on view.(on crystal report in vb.net)
FORMULA::
Dim strorderdate As Date = DateTimePicker4.Value.ToShortDateString
Dim datefrom2 As String = Help.ChangeMMDDYY(strorderdate)
Dim strorderdate1 As Date = DateTimePicker3.Value.ToShortDateString
Dim datefrom3 As String = Help.ChangeMMDDYY(strorderdate1)
If (RadioButton1.Checked) Then
ir.RecordSelectionFormula = "{ViewPartyOrder.partyname}='" & ComboBox2.Text & "' and {ViewPartyOrder.orderdate}>='" & datefrom2 & "'and {ViewPartyOrder.orderdate}<= '" & datefrom3 & "'"
ElseIf (RadioButton2.Checked) Then
ir.RecordSelectionFormula = "{ViewPartyOrder.pcode}='" & ComboBox2.Text & "' and {ViewPartyOrder.orderdate}>='" & datefrom2 & "'and {ViewPartyOrder.orderdate}<= '" & datefrom3 & "'"
ElseIf (RadioButton3.Checked) Then
ir.RecordSelectionFormula = "{ViewPartyOrder.pdesc}='" & ComboBox2.Text & "' and {ViewPartyOrder.orderdate}>='" & datefrom2 & "'and {ViewPartyOrder.orderdate}<= '" & datefrom3 & "'"
End If
CrystalReportViewer1.ReportSource = ir
CrystalReportViewer1.RefreshReport()
monu_khan
|
|
|
|
|
does anybody have any suggestions?
|
|
|
|
|
with javascript you can do it.
string popupScript = "<script language='javascript'>" +<br />
"window.open('PopUp.aspx', 'CustomPopUp', " +<br />
"'width=200, height=200, menubar=yes, resizable=no')" +<br />
"</script>";<br />
<br />
Page.RegisterStartupScript("PopupScript", popupScript);<br />
Regards,
Satips.
|
|
|
|
|
Hello,
VS 2005.
I have to create a setup for web service. Which I don't think will be much of a problem.
However, I have to create a setup that once its installed on the IIS, there is a button that can be pressed that would be on a windows form after the setup has completed. This will inform the user that the setup was completed successfully. Does anyone know of any good method to do this?
I think what I need is some kind of window that will be displayed after the setup is completed. However, how would I test if the setup was completed or not?
Many thanks for any suggestions and examples.
Steve
|
|
|
|
|
Hi,
Is there any way to detect on the server side, when a page changes, like the Page_Load event, or to fire a server side event when a menu item is clicked.
Thanks
Tim
|
|
|
|
|
hi there:
Use this: ddl.options[ddl.selectedIndex].value to get the selected value
<< >>
|
|
|
|
|
Hi,
I want to send bulk emails from my program.
Is it possible to add more than one email address in "MailMessage.To" field.
Thanks.
|
|
|
|
|
Yes.
MailMessage message = new MailMessage();
message.From = new MailAddress("sender@abc.com");
message.To.Add(new MailAddress("recipient1@abc.com"));
message.To.Add(new MailAddress("recipient2@abc.com"));
message.To.Add(new MailAddress("recipient3@abc.com"));
message.CC.Add(new MailAddress("carboncopy@abc.com"));
message.Subject = "This is my subject";
message.Body = "This is the content";
SmtpClient client = new SmtpClient();
client.Send(message);
Hope it will help yoou.
Regards,
Satips.
|
|
|
|
|
Hi Guys
Can any one let me know how can we use web service made in PHP in .Net client , is this possible ? what are the draw backs, please relpy ASAP, thankx in advance,
|
|
|
|
|
|
Thankx man for ur reply , can you please let me know one more thing, is it possible to use digest authentication with PHP webservices, thankx once again,
regards,
|
|
|
|
|
|
Hi All,
Iam new to asp.net2.0, Could u pls give information about Master page concept.
Thanks In Advance for ur replay,
|
|
|
|
|
if your national is persian say me to help you in farsi language
We Can Do Anything, If We Want It
|
|
|
|