|
|
<asp:imagebutton id="knowledgeButton" runat="server" height="40px" width="40px" xmlns:asp="#unknown">
ImageUrl="~/Images/knowledge.gif" OnClientClick='<%# Knowledge(DataBinder.Eval(Container.DataItem,"ID")) %>' style="float: right"
ToolTip="Add to Knowledge Base" Width="40px"
Visible='<%# (DataBinder.Eval(Container.DataItem, "Knowledge") == "true" ? false : true)%>' />
</asp:imagebutton>
This is not working. But it is not giving me any errors. Basically that image I want it to be hidden if the Knowledge data is (STRING) true.
Can this be done? If so how come this isnt working?
|
|
|
|
|
Since it is a server button, why don't hide it from the codebehind ?
|
|
|
|
|
Because its in a DataList. How do I tell which exact one has the Knowledge value of a true? Then show it. Else keep it hidden?
|
|
|
|
|
I am using oracle as back-end. when i run the page from the IIS, it gives me an error (Unable to allocate environment handle) all of a sudden. at first it works perfect but suddenly this error appears and nothing works until and unless the server computer is re-started. can anyone please give suggestion to get rid of this error??
|
|
|
|
|
Hi,
how i set linkbutton onclick event to call formview
i want that when i click on linkbutton then associated record from database will appear in formview how i bind data with linkbuton or how i do that .
guide me how i acheive this.
Any suggestion or link is highly apperciated .
Thanks in advance
Regards
Rameez
|
|
|
|
|
I am new to ASP.Net 2.0 using VB. When the ModalPopup is shown, the DropDownLists disappear. Why? When these objects are on an UpdatePanel or not, they act the same way.
There are several DropDownLists on my page. Each DropDownList populates the next. One of the DropDownLists is to show a ModalPopup with the description of the selected item. When the ModalPopup is shown, the DropDownLists disappear. When the ModalPopup is closed by the user, the DropDownLists reappear, but it takes several clicks to get the dropdownlists back in sync. This is unacceptable.
If someone has had the same problem, I would appreciate hearing how you handled this.
Thanks,
Linda
modified on Sunday, August 17, 2008 8:24 PM
|
|
|
|
|
R you using CSS in this page ?
cheers,
Abhijit
|
|
|
|
|
I think you are using the DHTML popup.
It is normal the modal popup always makes the dropdown disappear this is the charecteristic of it.
http://aspdotnetnstuff.blogspot.com
|
|
|
|
|
I read that IE7 took care of this problem and since I had IE6 on my machine it was worth a try and it worked. IE7 took care of the dropdownlists disappearing!
Thank you for your replies.
Linda
|
|
|
|
|
I want to use a single popup screen to edit data in three different gridviews. I have created three hyperlinks on the same page that call the popup window that is supposed to load a gridview depending the specific hyperlink clicked.
Thanks for your help.
|
|
|
|
|
The answer, as everyone knows, is 42.
|
|
|
|
|
Thanks for your reply.
What do you mean? what is the answer is 42.
|
|
|
|
|
If you dont understand then it dosent matter, but its funny!
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|
|
I was wanting to know how to basically send a request to an exchange/mail server and recieve something telling me if the email exist or not. How would I go about doing this? I see it being done but can not find any good examples so I can learn how to do it.
|
|
|
|
|
It's not being done. It's not possible. All you could do is send a test email and then check if you get a bounce message back. Which is not foolproof.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Well that sucks. I have trying to make this fool proof and say that email does not exist. Now whenevery I use my application and I send an email using the To. It works. When I add the CC emails it says that the mail server doest not accept emails. Well thats not true because it just accepted emails. It only does that when I use CC within the email. It is our work email and I am one of the sys admins up there and I can't figure out why it is saying that the mail server doesn't accept emails.
|
|
|
|
|
Take a look at RFC 2821 - section 3.5.1[^]
It explains how to verify an email address.
Basically you send a VRFY request and look for a 250 return code.
|
|
|
|
|
hello
i finded this link about this subject
http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23
but its language is not C#.
i searched this subject into C#, but i did not find C# code about it.
pleses help me.
thanks
|
|
|
|
|
aref87 wrote: but its language is not C#.
i searched this subject into C#, but i did not find C# code about it.
Do you expect someone to sit and write the C# version for you?
Anyway, there are many online code translators. This[^] is one of those.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hello
thank you
i want anyone,if it possible,to write this c# code
|
|
|
|
|
here is one convertor from vb.net to C#[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
Hello
I converted vb.net to C#,I thank you about your help.
also,i tried about programming.
this result is:
I produced two classes
1-class1
2-myextension
in main web service project according to the following link:
http://www.dotnetjunkies.com/PrintContent.aspx?type=tutorial&id=46630AE2-1C79-4D5F-827E-6C2857FF1D23
and put following code in webservice.cs,but after debuging ,i did not see anything,but in
Form1 in "Improve XML Web Services' Performance by Compressing SOAP's Figure 2 " there is
a pictuer with a datagrid that shows orders table from Nortwind.
also i used from #ZipLib .
what is [webmethod] in this project?
using System;
using System.Web;
using System.Web.Services;
using System.Data;
using System.Data.SqlClient;
using System.Web.Services.Protocols;
using System.Configuration;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
using ClientSoapExtension;
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.Diagnostics.DebuggerStepThroughAttribute(), System.ComponentModel.DesignerCategoryAttribute("code"), System.Web.Services.WebServiceBindingAttribute(Name = "Service1Soap", Namespace = "http://tempuri.org/")]
public class Service : System.Web.Services.Protocols.SoapHttpClientProtocol
{
public Service ():base() {
//Uncomment the following line if using designed components
//InitializeComponent();
}
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/getproducts", RequestNamespace = "http://tempuri.org/", ResponseNamespace = "http://tempuri.org/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped), ClientSoapExtension.myextensionattribute()]
public System.Data.DataSet getproducts()
{
object[] results = this.Invoke("getproducts", new object[-1 + 1]);
return (System.Data.DataSet)results[0];
}
public System.IAsyncResult Begingetproducts(System.AsyncCallback callback, object asyncState)
{
return this.BeginInvoke("getproducts", new object[-1 + 1], callback, asyncState);
}
public System.Data.DataSet Endgetproducts(System.IAsyncResult asyncResult)
{
object[] results = this.EndInvoke(asyncResult);
return (System.Data.DataSet)results[0];
}
}
|
|
|
|
|
Can anybody recommend me a good spam filter for ASP.NET? Is there something that I can send a string and would return me a percentage (the possibility of its being spam)? Do I need to have my dedicated server (or VPS) to run a spam filter? In other words is there something that works with shared hosting?
Thank you for your suggestions ..
|
|
|
|
|
I doubt such a thing exists. Spam filtering and ASP.NET have nothing to do with each other. In any case, it's a war of attrition, you need to find a well supported project, or a commerical library that is constantly updated,.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|