|
Help me please 
|
|
|
|
|
Come on guys... help me 
|
|
|
|
|
Hi there,
I checked the DLLs files in C:\Windows\Assembly and find out it contains many versions of CR DLLs... I also, checked the .vbproj and web.config files to match the versions and key tokens... and it match... but this still didn't solve the problem
I am getting the same error every time I run a report in my application.
I uninstall CR10 and reinstall it again... but no use...
I cantact the CR Suppot in there website... and I didn't receive any reply from them
If you have any idea how to solve this error, please share
|
|
|
|
|
I am still having this issue not fixed...
I tried to uninstall crystal reports 10 and reinstall it again... but this didn't solve the problem... when I run a web application developed in vs.net 2005 everything is fine and the report run smoothly... but if i try to run it in a web application developed in vs.net 2003 I get an error
I don't know waht to do,,,
|
|
|
|
|
Hi There
After the frustration and being exhausted in searching for more than a month, I finally found a solution to my problem and I wanted to share it with you.
All what I had done I download the Crystal Reports 10 Service Pack 6 from here
http://resources.businessobjects.com/support/communitycs/FilesAndUpdates/cr10win_en_sp6.zip
Then I install it.
After that I run the web application and generate a report
IT IS WORKING !!
I hope it helps ^__^
|
|
|
|
|
System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
System.Web.Services
WinCrs
|
|
|
|
|
Hello All,
I need to be able to set an href property of an anchor tag to a javascript which will basically mimick a mouse click event. Can someone show me an example of how to go about doing that. I have barely used Javascript and not too familiar with it. Any help would be higly appreciated. Thanks
~tina 
|
|
|
|
|
Hi
<a href="javascript:test()">
Click Me...
</a>
<script>
function test()
{
alert("Thanks.");
}
</script>
Mohammad Khansari
|
|
|
|
|
function changeAnchor(){
var anchor = document.getElementById('myanchor');
anchor.href = 'javascript:alert("you might call any function here");';
}
<a href="javascript:changeAnchor();" id="myanchor" > Click me </a>
This will change the anchor href property during first click of the anchor.
|
|
|
|
|
Thanks guys!
Abhishek, as I mentioned I wanted to mimicks the mouse click event (i.e the exact same thing that happens when a user uses a mouse to click on something) but instead I'm trying to do it from the tab button....so having said that how's an alert dialog box going to help. When the tab is hit and the user hits enter on the link, this event needs to fire so that the other code (which we already have that opens up another page will execute, so my problem is to make this work within these constraints, i cant just show the user an alert box!
Can you elaborate on this a little bit, thanks guys!
~Tina 
|
|
|
|
|
Hi guys,
I got little problem here. I cannot get the value for ColName. Below are my code
<tr ondblclick="job_detail('<%#Eval("id")%>');" >
<td width="15"><input name="Checkbox51" type="checkbox" style=" width:13px; height:13px;" value="<%#Eval("id")%>" /></td>
<%
For j = 0 To countCol - 1
Response.Write("<td width=" & colSize(j) & ">" & Eval(colName(j)) & "</td>")
Next
%>
</tr>
It give me an error :
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
Can someone help me.
Thanks in advance.
matju
ma tju
Software Application Engineer
Petaling Jaya,Selangor, Malaysia
Ring Master SB MVP 2008
Petaling Jaya MOP (Otai)
|
|
|
|
|
hi,
Just remove eval from Response.Write("<td width=" & colSize(j) & ">" & colName(j) & "</td>") this line.
Hope it 'll help u
Thanks
|
|
|
|
|
Hi,
Actually i need to use Eval to bind the data from datasource. But to use eval I need to include the '#' sign.
ma tju
Software Application Engineer
Petaling Jaya,Selangor, Malaysia
Ring Master SB MVP 2008
Petaling Jaya MOP (Otai)
|
|
|
|
|
can you put the code that how you bind the datasource?
Regards
Keyur Satyadev
|
|
|
|
|
Sure, here is the code.
Dim conn As New SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings(0).ConnectionString)
Dim sqlDA As New SqlDataAdapter("SELECT id, filename, img_size FROM image ORDER BY id", conn)
Dim ds As New DataSet
Dim pgDataSrc As New PagedDataSource
Try
sqlDA.Fill(ds, "tl")
pgDataSrc.DataSource = ds.Tables("tl").DefaultView
pgDataSrc.AllowPaging = True
pgDataSrc.PageSize = 20
pgDataSrc.CurrentPageIndex = CurrentPage
'rptInbox is a repeater control
rptInbox.DataSource = pgDataSrc
rptInbox.DataBind()
Catch ex As Exception
Return False
Finally
conn = Nothing
sqlDA = Nothing
ds = Nothing
End Try
Well sometimes user want to see just 1 or more column in the repeater. Thats why i use for loop to generate the column. Hope this help.
Thanks in advance.
ma tju
Software Application Engineer
Petaling Jaya,Selangor, Malaysia
Ring Master SB MVP 2008
Petaling Jaya MOP (Otai)
|
|
|
|
|
why should you write the response.write here as bind function only work with control.
you can use just Databinder.Eval() or simply Eval() as it your repeater control you get all the values.
for more specify your exact need to writing the response.write as its just give the message.
Regards
Keyur Satyadev
|
|
|
|
|
Actually I try to do this:
<%
For j = 0 To countCol - 1
'during loop it will skip this line. This is why I use response.write.
<td width=<%#(colSize(j))%>><%#Eval(colName(j))%></td>
Next
%>
but when it loops it will skip the code in the for loop. When i use response.write it will run line in for loop but return this error:
Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
Hope this help.
Thanks in advanced.
ma tju
Software Application Engineer
Petaling Jaya,Selangor, Malaysia
Ring Master SB MVP 2008
Petaling Jaya MOP (Otai)
|
|
|
|
|
why you put the for loop as it is in the repeater. repeater will automatically manage this.
it will returns for all the rows.
can you more specify your exact requirement as what type of data you want to bind here?
Regards
Keyur Satyadev
|
|
|
|
|
I was given the task to take several websites and add login authentication to them. Currently, they are using Apache to login then it redirects to the site if their login was valid.
What I was going to do, or did, was create a login page and use their custom authenticator class (which they wanted me to use) to validate then if successful redirect to the home page...simple enough.
What I have a question on is if I am using this very basic (and probably old way) of doing this, can I add a session object "Authenticate" and set it to true if success, false if not. Then on the other pages during Page_Load check this session if authenticated and if not redirect to login page? Is this valid? Seems outdated and I know I can use the new Login Controls for .Net 3.5 but wasn't sure if I could or not.
They are not using Windows Authentication or anything, it's what is typed in txtbox and validated in sql. The authentication class does this.
Would appreciate any suggestions on how I could validate on each page if they were logged in or not.
Thanks
|
|
|
|
|
Hi
It is valid to use session for that.
Mohammad Khansari
|
|
|
|
|
How do i change the title of the webpartzone. It keeps the
id of the webpartzone as the title
|
|
|
|
|
NETLearning wrote: How do i change the title of the webpartzone. It keeps the
id of the webpartzone as the title
Why are you asking same question again and again ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
hi, i have page with content place holder and in that i have multiview and in that i have a html tabel and i am wondering if is it possible to make a row hide(visible=false), or that cant be done????
|
|
|
|
|
to hide a row .. in html Table,
You might use :
td.style.visibility = 'hidden';
and to show it again use :
td.style.visibility = 'visible';
You need to use Javascript to do this.
|
|
|
|
|
Give div tag give it an id make it run at = server and in the programming give id.visible =false.
<div id ="ssd" runat="server">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:FileUpload ID="FileUpload1" runat="server" />
</div>
protected void Page_Load(object sender, EventArgs e)
{
ssd.Visible = false;
}
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|