|
this code is to send comments first to gmail ,after that got the comments in customerservies,i.e fogbugz api.
but i need the comments directly go to the fogbugz api....
not to the gmail.
<dim contactusemailid="" as="" string="ConfigurationManager.AppSettings(" contactusemailid")<br"="" mode="hold"> objCEmail.FromAddress = txtEmailId.Text
objCEmail.MailFromAddress = txtEmailId.Text
objCEmail.ReplyToAddress = txtEmailId.Text
strType = ddlRequestType.SelectedValue
If strType = "Problem with an Order" Or strOrderStatus = "Fail" Then
strType += ":" & txtId.Text
objCEmail.Body = "Problem with an Order:" & txtId.Text
ElseIf strType = "Report Abuse" Then
If ViewState("albumid") IsNot Nothing Then
strType += ":" & ViewState("albumid")
objCEmail.Body = "Report Abuse:albumid=" & ViewState("albumid")
ElseIf ViewState("photoid") IsNot Nothing Then
strType += ":" & ViewState("photoid")
objCEmail.Body = "Report Abuse:photoid=" & ViewState("photoid")
Else
objCEmail.Body = "Report Abuse:Empty"
End If
ElseIf strType = "Marketing/Business Development" Then
ContactUsEmailID = ConfigurationManager.AppSettings("MarketingEmailID")
End If
objCEmail.ToAddress = ContactUsEmailID
objCEmail.Subject = strType
objCEmail.Body += "<br/>"
If Not Session("UserGuid") Is Nothing Then
objUser = UserAccess.GetUser("Guid", Session("UserGuid").ToString)
If objUser IsNot Nothing Then
objCEmail.Body += "User name: " & objUser.UserNickName & "<br/>" '& " (" & objUser.Guid.ToString & ")" & "<br/>"
End If
End If
objCEmail.Body += "Report Info:<br/>"
objCEmail.Body += txtComment.Text
objCEmail.Body += "<br/><br/><strong>User Cookie Info:</strong><br/>"
objCEmail.Body += GetCookieInfo()
Dim str_BrowserType As String = Request.Browser.Browser
Dim str_BrowserVersion As String = Request.Browser.Version
Dim str_PlatForm As String = Request.Browser.Platform
Dim strBrowserInfo As String
strBrowserInfo = "<br/><b>" & "</br><b>BROWSER : </b> " & str_BrowserType & _
"<br/><b>BROWSER VERSION : </b> " & str_BrowserVersion & _
"<br/><b>PLATFORM : </b> " & str_PlatForm & _
"<br/><b>Flash Version : </b> " & hdnFlashVer.Value
objCEmail.Body += "<br/><strong>Browser Info:</strong>"
objCEmail.Body += strBrowserInfo
objCEmail.TransCode = "Contact Us"
objEmailQueue.SendEmail(objCEmail)>
Thanks
Subbu.
|
|
|
|
|
Hi!!..
I have a gridview with Password column.. when i bind that column to the GridView i should get as "***". how can i get that?
thanks
|
|
|
|
|
if you set DataFormatString just * character then all your field will have the single character * and hides the real password, don't know it is helpfull for you! Try it.
I Love T-SQL
|
|
|
|
|
for security reasons, password filed doesn't remember the value entered in it....so it is difficult in dorect case... you need javascript to do so....but that is security hazard
Ashish Sehajpal
|
|
|
|
|
hello friends
I have written validations in javascript ..un-fortunately they are not working...
In my page i am having few text boxes and on a button click i am checking whether the text is "" or not ... and providing a alert box ...
present scenario doesnt allows me to use asp.net validation controls...
thanks in advance ( i can provide the link to site and code too )
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
Is the alert box not showing?
Does the code work in any other browser?
Javascript can be disabled using the browser
|
|
|
|
|
If you are trying to check is the text is ""(empty) then refer to control like this controlname.InnerText with javascritp code.
I Love T-SQL
|
|
|
|
|
its working fine with IE6 ....i will check it with inner text .........
There is one more question for which i am looking for past one day on net its cross browser compatability ..every where it is explained what is it but no where it is written how to solve it ..please tell me how to solve it
Thank You
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
for your question I will suggest you to lookup this result on google [^]I hope you will find the best answer...
I Love T-SQL
|
|
|
|
|
Cross compatability relates to an app working in different browsers.
If an app works in IE and not in mozilla its not always the same reason
sometimes it can be stylesheets, sometimes bits of code like javascript
There is no one way to fix execept by testing your app in multiple browsers as you develop
|
|
|
|
|
I agree with you, I had have problem in style of application when I run on mozilla, it really crashed all design but i fixed it by testing time by time in mozilla.
I Love T-SQL
|
|
|
|
|
thank you.... presently my prob is java script ...any suggestions ...i am using it to show and hide tables on button click ...
thank you
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
there exists one Mozilla Add-on [^]to download from internet, which makes mozilla browser like IE. you can programmatically require user to install that Add-on if it isn't installed.
I Love T-SQL
|
|
|
|
|
Can you post your code then for the javascript
|
|
|
|
|
i have designed the similar kinda script and it is running fine on every browser.... what you are doing...can't say
there may be the problem in master pages/content pages scenario...
is it case with you?
Ashish Sehajpal
|
|
|
|
|
Hi All,
I am developing a solution where on a page m using some ajax control (hover menu, updatepanel, extender menu). I am getting about 1400 search results from database and I am puttin it in repeater control (No paging).
All these things causing this warning message. Is there any resolution.
Will paging help ??? If yes what is the maximum number of results which I can put on my page.
Thanks in advance..
|
|
|
|
|
Prateek G wrote: I am developing a solution where on a page m using some ajax control (hover menu, updatepanel, extender menu)
OK
Prateek G wrote: I am getting about 1400 search results from database
Huge Result
Prateek G wrote: I am puttin it in repeater control (No paging).
Bad one it will take long time to load all results Show only 10/20/30 depends on business/requirement/user
Take the example of Google i think shows thousands of result found but will show only first 10 (Max Views).
I think paging will solve your problem
Again you are using AJAX as per my knowledge this is not going to add any new values
Edited
How much time it is taking to Search the Result ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Searching results is not taking much time but I have Entities kind of thing (collection of properties) binding data to that entity is taking much time.
But sometime when I am not searchin any results then also this pop up is coming.
Any way where I can check which one is the script which taking the time.
I think problem is something related to number of scripts running on the IE, coz IE has a limitation about that.
|
|
|
|
|
IE do not has such limitations.
have you registered your scripts on clinet side thorughly ? it will resolve some issues... there may be cases that even after a page load, browser behaves like still downloading the page (waiting state ) .....cause by such unregistered scripts
Ashish Sehajpal
|
|
|
|
|
hi,
I'm using ajax in my application. And in a same page i'm showing differnt-2 categories in same datalist. Each time only datalist updated.
Now i want to change meta tag(title,keyword and description) programmatically with the change of category.
how i can do that. Please help me.
waiting for reply...
thanx..
krishna veer singh
|
|
|
|
|
Can you explain a bit more what you mean by
krishnaveer wrote: change meta tag(title,keyword and description) programmatically
Do you want to change the title of the page perhaps?
|
|
|
|
|
hi,
Actually in a page name category.aspx, there is a menu on left side where different categories are listed. in click of menu items i'm papulating categorycontents in the datalist control. I have taken datalist control inside the ajax updatepanel. So that every time on click of memu item i can update that updatepanel.
these things are running well. But since page is refereshing, the meta tag related to different categories listed in menu item is not changing.
The description of the meta tag is comming from the database.
How i can do this.
thanx..
krishna veer singh
|
|
|
|
|
hmm well just run an update query which updates the meta tag and then re select it from the database everytime the update is performed
|
|
|
|
|
|