|
at the bottom of toolbox.. just right click and create new tab
give it name what ever you want...
then right click and choose items....
there you a new window will be opened go in browse give path of that dll and then you will be having in in your toolbox.
umerumerumer
|
|
|
|
|
i am using VidGrab SDK which is for implenting live video/voice streaming and many more...
the way u defined i have added my .dll, there is no error it successfully add the refernce but then control is not visible...
can u tell me the problem ??
(My problem is with web application where as in windows application it shows the control)
I am working on Online Video Chat project.... and badly struct with it can u resolve my problem??
(This is not only with VidGrab, i have used many others SDK too but the probelm is same)
If there is any other way to add controls in web application please direct me to that!
Thanks!
$@N@
|
|
|
|
|
Thank you very much. I am a newbie in asp.net Thanks
|
|
|
|
|
Hi there,
I'm trying to add a component to vs2003 .net 1.1 where the user can add a comment and then add it to the database. A friend is working in .net 2 and said I should use Ajax Control Kit extensions. I can't seem to find a download for .net1.1. Does anyone know where to find such a download or have a component that can be used for this?
Thanks! Any help will be GREATLY appreciated!!
|
|
|
|
|
|
i want to query active directory the way we do in ado.net.I want to query it save it in dataset ..
can anyone help me to write connection string to this and how to do it .
thanks
|
|
|
|
|
|
since our database is too big i want to query it like
select top 10 fro m
like wise i want the queries on active directory.
|
|
|
|
|
|
Hi,
How could I recognize the control that caused PostBack in my Form_Load ?
Best wishes
|
|
|
|
|
Ok you can find it...
1. For button control, get the control from 'page.Request.Form'.
2. For other controls like dropdown etc from page.Request.Params.Get("__EVENTTARGET")
Actually you will get the ID's of the control in the string format... So after getting the ID use page.FindControl("ID") and get the Control object.
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
Hi ,
I have a web application where in one form im trying to access(read and write) the file present in my application folder it is working fine in my PC but when i Deployed it using MSI and installed in other machine(Windows Xp IIS 5.1) im not able to access the file...
Error comes like
Access to path "C:\inetpub\wwwroot\MyApplication\config.xml" is denied
using cacls.exe i gave permission to ASPNET account to access file but that"s not working even ....Please help me out...
|
|
|
|
|
I think you have to give the IUSR permission also... Also make sure that the file is not marked as ReadOnly when you are attempting to write ..
"Don't worry if it doesn't work right. If everything did, you'd be out of a job." (Mosher's Law of Software Engineering)
|
|
|
|
|
You can check to see which user your application is running under. Right-click your website in IIS and go to Properties. Select the 'Directory Security' tab and then 'Edit' under 'Authentication and access control.' The first box up there is the user that .NET 2.0 runs under. In most cases it is IUSR_ServerName. Make sure you apply modify permissions for that user on the config.xml or whatever files you intend to write to. Good luck!
Ranjit Viswakumar
Professional Services Specialist
HostMySite.com[^]
|
|
|
|
|
Thanks for your suggestion it really helped me.....
|
|
|
|
|
Hi freinds.
I am working in asp.net. I have one method that generates large PDF file from html string. When i click to generate pdf file, it consumes 100 cpu so my application goes down.
I want to allocate memory to this process to complete its task.
Can anybody guide me regarding this issue?
Thanks
Imrankhan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hi all,
I m getting the below error page in my site when i send mail to an invalid email id ( i.e recipient email address does not exist. ). If suppose i gave the correct available email ID, it works fine...
i ve changed in web.config mail settings and in mail sending message , but i cant get correct output.
ERROR page:
==========
[SmtpException: Mailbox name not allowed. The server response was: sorry, your mail was administratively denied. (#5.7.1)]
Server Error in '/' Application.
Mailbox name not allowed. The server response was: sorry, your mail was administratively denied. (#5.7.1)
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.
Exception Details: System.Net.Mail.SmtpException: Mailbox name not allowed. The server response was: sorry, your mail was administratively denied. (#5.7.1)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SmtpException: Mailbox name not allowed. The server response was: sorry, your mail was administratively denied. (#5.7.1)]
System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) +881192
System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, String from) +39
System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception) +95
System.Net.Mail.SmtpClient.Send(MailMessage message) +2004
App_Code.Email.MailSender(String sendFrom, String sendTo, String sendSubject) +110
App_Code.Email.EmailThisFriend(ArrayList objMailContent) +457
EmailThisPage.btnSubmit_Click(Object sender, EventArgs e) +458
System.Web.UI.ImageClickEventHandler.Invoke(Object sender, ImageClickEventArgs e) +0
System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +86
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +115
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Ashok
|
|
|
|
|
Okay, so everthing is fine. Just catch the exception where you send the mail and display a better error message to the user.
|
|
|
|
|
Hello Friends,
I've a XML file having data as shown below and i want to display this data in GridView using the XMLDataSource. Actually i want to show the record where Active is 1
<TotalBhakti>
<Videos>
<ID>1</ID>
<Video>No Video(s)</Video>
<VideoTitle>No Video Title</VideoTitle>
<Description>No Description</Description>
<Guru>No Guru</Guru>
<Lord>No Lord</Lord>
<Category>No Category</Category>
<Genre>No Genre</Genre>
<Tag>No Tag</Tag>
<Active>1</Active>
</Videos>
<Videos>
<ID>2</ID>
<Video>AA</Video>
<VideoTitle>AA</VideoTitle>
<Description>AA</Description>
<Guru>AA</Guru>
<Lord>AA</Lord>
<Category>AA</Category>
<Genre>AA</Genre>
<Tag>AA</Tag>
<Active>1</Active>
</Videos>
</TotalBhakti>
XML Data Source code is here
<asp:XmlDataSource ID="TotalBhakti" runat="server" XPath="TotalBhakti/Videos" DataFile="~/XMLFiles/XMLFile1.xml"></asp:XmlDataSource>
and
GridView Code is here
<asp:GridView ID="GridView1" Runat="server" DataSourceID="TotalBhakti" AutoGenerateColumns="False">
<Columns>
<asp:BoundField HeaderText="ID" DataField="ID"></asp:BoundField>
<asp:BoundField HeaderText="Video" DataField="Video"></asp:BoundField>
</Columns>
</asp:GridView>
But i get no data in GridView and also if i remove the XPath from the XMLDatasource then i get an error like "ID" field not found in the DataSource please suggest me the way to come out of this problem.
|
|
|
|
|
Did you set any filters for the GridView? Do you see the headers?
|
|
|
|
|
Sir Can you let me know ........
I've a GridView in which i'm fetching the data from the XMLFile.
My XML file is shown below. In this XML file i've a Active node and i want to display only the data where the Active is 1 that's mean to fetch only first record but it's bringing all records.
<TotalBhakti>
<Videos>
<ID>1</ID>
<Video>No Video(s)</Video>
<VideoTitle>No Video Title</VideoTitle>
<Description>No Description</Description>
<Guru>No Guru</Guru>
<Lord>No Lord</Lord>
<Category>No Category</Category>
<Genre>No Genre</Genre>
<Tag>No Tag</Tag>
<Active>1</Active>
</Videos>
<Videos>
<ID>2</ID>
<Video>No Video(s)</Video>
<VideoTitle>No Video Title</VideoTitle>
<Description>No Description</Description>
<Guru>No Guru</Guru>
<Lord>No Lord</Lord>
<Category>No Category</Category>
<Genre>No Genre</Genre>
<Tag>No Tag</Tag>
<Active>0</Active>
</Videos>
</TotalBhakti>
here is the code to display in the GridView
XmlDataSource data = new XmlDataSource();
data.DataFile = Server.MapPath("~/XMLFiles/XMLFile1.xml");
GridView1.DataSource = data;
GridView1.DataBind();
|
|
|
|
|
|
I'm also using the XPath as shown below but that's not correct please make it
data.XPath = "TotalBhakti/Videos/Active[@Value=1]";
|
|
|
|
|
What about
TotalBhakti/Videos[Active='1']
|
|
|
|
|
can any one guide me that i have a dropdownlist on master page and on seleectedindex change of that dropdown i want to perform some action on content page.
can any one guide me how can i achieve this functionality????
umerumerumer
|
|
|
|