yes i am binding it programically is that the problem? i did all of the above and its still not working
keroed_edmond
Posts
-
How do i Print and Export Crystal Report??? -
How do i Print and Export Crystal Report???i added a crystal report to one of my asp.net pages and it works fine in the sense that its loaded and displayed on the screen and paging and everything works. But whenever i click on the export or print menu on the report it doesn't do either. i am not sure what i am doing wrong is that i am suppose to set something in the code behind? or some event needs to be set i am not sure. so can anyone tell me how i can allow my crystal report to be exported or printed?
-
multiline textbox not working in firefoxi have a textbox and i set the textmode property to TextMode="MultiLine" and in IE it works correctly by wrapping the text but it doesnt work in mozilla firefox
-
wierd asp.net validator problemi have a form and for a few of the text boxes i have validators on them both required and compare validators and whenever i click my save buttons it triggers the validators correctly and they show hat required field is missing and so on, however if i for example i select a drop down list or anything that causes a post back to the server to do some function probly to filter or set some values. the validators stop showing up on the screen they still work in the sense that when i click save t still does do anything because all the required fields are not filled out but the annoying thing is that at this point it no longer displays the validation summary or error message or anything indicating where on the page is not valid, it works fine once i don't do anything to the page that triggers a postback but once something like that happens it doesn't work until i close the window completely and start over. has anyone ever encountered this or know of a work around?
-
custom gridviewi want to design a custom gridview control that i can simply add to my toolbox which will enable me to simply drag and drop it on my webpage and set any specified properties that i created. can anyone point me to where i can find out how to do this?
-
Crystal Report C#i am trying to recreate a physical form i have using crystal report which will display information for a specific record in my database. can anyone send me to a good crystal report tutorial kenny
-
hiding columns in a report viewerp.s if u have any other problem just drop a message here will reply as soon as i see it
-
hiding columns in a report vieweryes i found a solution what u do is this step 1 create a dataset with a table that has all the possible columns that you might use in your report step 2 add all of these columns to your report step 3 create report parameters for all the columns u want to hide / un-hide step 4 assign the value of the hidden property for each column to evaluate whether or not to set hidden property to true or false example set hidden property to
=iif(Parameters!param_TicketId.Value="T",True,False)
step 5 assign values to the report parameters wherever you are going to build and run the reportReportViewer1.LocalReport.ReportPath = Server.MapPath("Report.rdlc"); ReportDataSource rds = new ReportDataSource(); rds.Name = "spTroubleTicket_AllTableAdapter"; rds.Value = dsReport.Tables[0]; ReportViewer1.LocalReport.DataSources.Add(rds); ReportParameter[] param = new ReportParameter[2]; param[0] = new ReportParameter("param_TicketId", "F"); param[1] = new ReportParameter("param_TimeRecieved", "T"); ReportViewer1.LocalReport.SetParameters(param); ReportViewer1.LocalReport.Refresh();
you can do any manipulation you want based on the code above my original code i allowed my users to select the column the wanted to be in the report. and i also allowed them to generate the dataset based on the specific search criteria they chose to use and use this as the dataset. so in essence i create a data table with all possible columns and added it to my report and then allowed user to hide and unhide columns and generate there dataset to be used on the report dynamically Kenny Edmond -
hiding columns in a report vieweri am building a report.rdlc and using the report viewer and i wanted to know how can i hide or unhide columns in my report is this possible? can anyone assist me? oh p.s. using c# but it doesn't matter if u know how to do it in vb will jus convert it kenny
-
Windows Authenticationyea thats what i want to do well i want to authenticate that only on persons on my network can log in
-
Windows Authenticationi am trying to implement windows authentication on one of my websites on my IIS but when ever i try to browse to the website a messagebox pops up asking me for my user name and password. but i thought that the authentication would be done in the background automatically without me being prompt to enter my username and password. What am i doing wrong? kenny edmond
-
send mail via asp.neti am trying to send a mail from an asp.net page this is what i did code wise
MailMessage mailMessage; mailMessage = new MailMessage(); //set properties mailMessage.To = "mail1@yahoo.com"; mailMessage.From ="mail1_Test@Keroed_corp.com"; //If you want to CC this email to someone else... mailMessage.Cc = "mail2@hotmail.com"; //If you want to BCC this email to someone else... mailMessage.Bcc = "mailingKE@gmail.com"; //Send the email in text format //(to send HTML format, change MailFormat.Text to MailFormat.Html) mailMessage.BodyFormat = MailFormat.Text; //Set the priority - options are High, Low, and Normal mailMessage.Priority = MailPriority.Normal; //set subject mailMessage.Subject ="Test Mail"; //set body string bodyText ="Testing send Mail" + Environment.NewLine + "Hopefull this works"; mailMessage.Body = bodyText; //set smtp mail server SmtpMail.SmtpServer = ""; //send mail SmtpMail.Send(mailMessage);
i this works because when i go into C:\Inetpub\mailroot\Queue i see the mails that the page tried to send so i am wondering if i need to do some further configuring to my smtp server in IIS kenny -
reading contents of a word document and displaying it on web pageone of my many task is to maintain my company website along with my other software development. and i cam constantly given data to put on the website which keeps interrupting my other duties i found away to let a applet read from a text file a scroll up like a flash using a javascript what i wanted to know is there are a way that i can whether via javascript read the contents of a word document a displaying it on screen? because i keep on have having to create new pages from my template blank page hence i wanted to further automate the process by making it simply reading from a word document. but i am not sure where to look any one has any idea kenny
-
Data transferi am planning to do an extensive data transfer from tables in one database to different database that has a different table structure can someone point me in the direction i should be reading up where i can accomplish this? kenny
-
webservice response giving problem [modified]i created a simple webservice
_ Public Function HelloWorld(ByVal person As String) As String Return "Hello" + person End Function
andi created a vb.net application that i jus wanted to post the name and get back the response' Create the web request request = DirectCast(WebRequest.Create("http://localhost:80/WebService_RPC2"), HttpWebRequest) ' Set type to POST request.Method = "POST" request.ContentType = "application/x-www-form-urlencoded" ' Create a byte array of the data we want to send byteData = System.Text.UTF8Encoding.UTF8.GetBytes(data.ToString()) ' Set the content length in the request headers request.ContentLength = data.Length ' Write data Try postStream = request.GetRequestStream() postStream.Write(byteData, 0, byteData.Length) Catch ex As Exception MessageBox.Show(ex.Message) Finally If Not postStream Is Nothing Then postStream.Close() End Try Try ' Get response response = DirectCast(request.GetResponse(), HttpWebResponse) ' Get the response stream into a reader reader = New StreamReader(response.GetResponseStream()) ' Console application output Console.WriteLine(reader.ReadToEnd()) Catch ex As Exception MessageBox.Show(ex.Message) Finally If Not response Is Nothing Then response.Close() End Try Dim responseString As String = Convert.ToString(reader)
but this doesn't work when i debug the code i see that the request goes through and no exception is thrown as soon as i try to read the responseresponse = DirectCast(request.GetResponse(), HttpWebResponse)
i get an exceptiong is thrown saying Quote: the remote server return an error405)Method Not allowed can anyone tell me what i am doing wrong is there something i am not doing correcly from the webservice side? -- modified at 23:53 Saturday 10th February, 2007 -
using vb.net to post to a websitei know this is a c# forum but couldn't find one vb. if i get a sample how to it in C# no prob i can convert it Default using vb.net to post to a website i want to post a string to a website can anyone show me or point me to example of how you would use vb.net to post a string to a website and accept the response sent back from post / request to the site?
-
using vb.net to post to a websitei know this is a c# forum but couldn't find one vb. if i get a sample how to it in C# no prob i can convert it Default using vb.net to post to a website i want to post a string to a website can anyone show me or point me to example of how you would use vb.net to post a string to a website and accept the response sent back from post / request to the site?
-
http request and responsei wanna test a windows application i have it is suppose to send string to a website and accept response string it doesn't matter wat the response is even if it is a boolean value. can anyone tell me of any website they know that allows you to test this or how i can create a simple one that jus accepts and send reply on my iis or even a sample that i can download and install i jus wanna test my windows app
-
using vb.net to post to a websitei want to post a string to a website can anyone show me or point me to example of how you would use vb.net to post a string to a website and accept the response sent back from post / request to the site?
-
mobile application .net developmenti want to try and create an application for a mobile phone using .net can someone point me to some good tutorials that will aid me in do this?