|
By reading the error message it simply seems like you (by mistake) have added a component with an ID that another component already has. Check the Id's of the components and make sure there aren't any duplicates.
|
|
|
|
|
If i am using the old ajax binary which is provided as demo in ajax site, then my code is running fine.
but i cannot use that old binary, because my existing ajax contols complains that blah blah property not found.
Can any body suggest how can i use old and new ajax toolkit binary.
|
|
|
|
|
Hi all,
we can use to export a report document to stream by following method,
ReportDocument.ExportToHttpResponse(format,responce,boolattch,attachname);
there is also other method like writing the same to the memory stream and taking out via binary write that is
MemoryStream oStream; // using System.IO
oStream = (MemoryStream)
report.ExportToStream(
CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
Response.Clear();
Response.Buffer= true;
Response.ContentType = "application/pdf";
Response.BinaryWrite(oStream.ToArray());
Response.End();
the above can be called through button click
and this is the main problem.
in my page due to requirement i have more than one crystal report viewer and obviously more that one report document. my requirement is that to print all the report documents in one pdf file? how to concatenate these things?
can any one help me?
|
|
|
|
|
Hi,
To all
I need the functionality just like in code project how it is for example, before login in the code project just click on register page it transfers to the register page lying on the same page provide emailid and password to login to the code project it is logging.Please anyone help me
Thanks & Regards,
K. Amarnath
|
|
|
|
|
If you are using forms authentication try this links
default url is the word you are looking for...!
http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.defaulturl.aspx[^]
If you are Not using forms authentication use
Query string i.e. pass the last visited page in the query string so after registering with the help of Request.QueryString[""] You can rediredt to the last visited page
I didnt try this code but try this code..string prevurl = Request.UrlReferrer.AbsoluteUri;
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi,
I am facing a strange problem here, I am using a webservice to send emails through my website.
Strangly when I run the application through VS2008 web development server only one email is sent which is normal, but when I publish the website on IIS then two copies of the emails are sent to the sender, which I don't understand.
Any suggestions or help shall be appreciated!Thanks
Shankbond
|
|
|
|
|
can u post ur code, so that we can look into that and give some suggestion.
|
|
|
|
|
I cannot actually post the code its huge, I will simply explain, The webservice accepts a dataset which has all the information related to sending emails,
I have sent emails through this webservice in the past also, but then it used to work fine. Is their something I should check regarding disco, wsdl or other files related to webservice.
Please help!Thanks
Shankbond
|
|
|
|
|
problem is solved now it was a javascript issue, but it was not caught in webdevelopment server. Thanks
Shankbond
|
|
|
|
|
i have 2 listboxes & 2 button. In 1st listbox, there are some items when i select many items from 1st listbox & press button1 then selected items add in 2nd Listbox & remove from 1st listbox. Afterthat i select many items from 2nd listbox & press button2 then selected items add 1st listbox & remove from 2nd one.
How to do this?
|
|
|
|
|
Did you try to implement this? Just you need to need remove few items from Listbox and adding it into another Listbox.You do easily on the buuton's event. What is the problem? Cheers!!
Brij
|
|
|
|
|
|
Yoy may try this.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Do While listbox1.SelectedIndex >= 0
listbox2.Items.Add(listbox1.SelectedItem)
listbox1.Items.RemoveAt(listbox1.SelectedIndex)
Loop
End SubSigurd Johansen
|
|
|
|
|
hi,
i want to display loading image when i change the dropdownlist index and depending on that another dropdownlist wil load the item.So on that time i want to display the loading.gif image and user can able to know that item is under loading.i am using ajax on postback to load items on dropdownlist.
So any one able to help me to show this image on postback of loding dropdownlist.
Thank you.
|
|
|
|
|
You must be having that loading image. Before postback just show that image from javascript and when you get the data from server ,before showing it hide the image.
Let me know if you face any issue.Cheers!!
Brij
|
|
|
|
|
if you have any code for that then please forword me.i need it.
|
|
|
|
|
Do one thing,On selection Changed event of you dropdown, put the fistline of code as
image1.style.display=''
and the last line in selection Changed event put
<code>image1.style.display='none'</code>
This will also resolve you problem.Cheers!!
Brij
|
|
|
|
|
image1.style.display ,display is not the propery of style. any other soliution
|
|
|
|
|
Sorry, that format works in javascript. I c# do it as
for not showing
image1.Style.Add("display", "none")
and when you have to show then
image1.Style.Add("display", "") Cheers!!
Brij
|
|
|
|
|
|
Hi,
I am getting problem on, i had a login page which it is inherited to the master page means for userid and password will be on the top of the corner page to which login, my problem is if i click on the register page it transfers to the register page but when i try to login from that page error is raising on javascript which i kept the function on key press enter after entering the user details. for example i checked the functionality in the codeproject page username and password, if we click on register page it takes to the register page from here if i enter the user details and press enter it is working .could anyone help to resolve this problem.
Thanks & Regards,
Nath
|
|
|
|
|
Can you please also provide some code to explain what are you saying, in this it is not clearly understandable
|
|
|
|
|
function doClick(buttonName,e)
{
//the purpose of this function is to allow the enter key to
//point to the correct button to click.
var key ;
if(window.event)
key = window.event.keyCode; //IE
else
key = e.which; //firefox
if (key == 13)
{
//Get the button the user wants to have clicked
var btn = document.getElementById(buttonName);
if (btn != null)
{ //If we find the button click it
btn.click();
event.keyCode = 0
}
}
}
this is the javascript function which i used when user cliks on enter button to login. please could you check the functionality of the codeproject dont sign in the page click on register page you will be redirected to the register page at the same time you can login to the code project by giving your user details and click on enter button it is working even when you are in register page i had the similar to that but when i was in register page if i try to enter any letter in the userid and in password javascript error is firing
|
|
|
|
|
Can you post the error details? Cheers!!
Brij
|
|
|
|
|
Microsoft JScript runtime error: Object expected when i was entering a user details in emailid or password for every single letter the same error repeating. This is of due to while i was entering the details to login, the current page is register page
Thanks & Regards,
Nath
|
|
|
|