|
CCG3 wrote: What is Modulous?
Clickety[^]
I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.
• • •
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
|
|
|
|
|
Here's a better, more helpful link[^].
Hope that's clear now.
I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.
• • •
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
|
|
|
|
|
Why does something so simple have to be prewritten? Why not just create a calculated field and get what you want in 10 minutes?
|
|
|
|
|
Dave Kreskowiak wrote: Why does something so simple have to be prewritten? Why not just create a calculated field and get what you want in 10 minutes?
Well Dave, you have to understand that some of us are newbies and we are looking for help. I have never heard of a 'calculated field' nor do I know how to create one. If it is so simple can you help me set one up? Or give me a example of what one is? (you are talking about creating this in Crystal right?)
|
|
|
|
|
CCG3 wrote: I have never heard of a 'calculated field'
Allow me to quote from your original post:
Does anyone know if there is one or if there is another way to do this with a formula field or something?
|
|
|
|
|
Ok, so are you saying that a 'calculated field' is the same as a formula field?
If so, then can you show me an example of how this can be done with a formula field?
-- modified at 9:44 Friday 29th June, 2007
|
|
|
|
|
CCG3 wrote: f so, then can you show me an example of how this can be done with a formula field?
Nope. I don't have any example because I don't use Crystal Reports.
|
|
|
|
|
Hi, is it possible to make password character in windows form like in web form?
|
|
|
|
|
Obviously, you haven't noticed the PasswordChar property of the TextBox control.
|
|
|
|
|
hello frnd,
try to use "PasswordChar" property of textbox you can put any char as password char
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
You just repeated what I said about 20 hours ago.
|
|
|
|
|
I'm writing a device application that runs on Windows CE. The report items are not available in the solution explorer with this type of project. What options do I have?
|
|
|
|
|
The .NET Compact Framework doesn't supporting printing. You'll have to use a third party solution to do this. I think HP has one, but I don't know what it's called.
|
|
|
|
|
i am using dotnet 2003.i want to move records using firstbutton,previous button,next button,last button in vb.net windows application(not web application).
|
|
|
|
|
Do you mean moving within the record index or moving a record within the index?
I think I'm going to call my next project "Chuck Norris". It's a sure way to guarantee it's unbreakable.
• • •
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson
|
|
|
|
|
R U showing records in textboxes or in grid ???
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
I'm writing a device application that runs on Windows CE. Some of the command buttons have multiple lines of text which do not seem to display correctly at run time. I only see the first line of text followed by two boxes which must be the carriage return line feed characters. How can I display both lines of text?
|
|
|
|
|
I haven't done any mobile development, but it would appear that multi-line text on buttons is not supported.
|
|
|
|
|
|
|
This is a question for the ASP.NET Forum.
|
|
|
|
|
It would be better to put the code that adds the attribute to the onclick event to the pre-render event of the datagrid. javascript executes on the client so it will always happen before the item creted event. In the prereder event you can loop through the rows in the datagrid and add the attribute to the correct button based off the label on that row.
Hope that helps.
Ben
|
|
|
|
|
could you please provide some sample code? One more thing, I want "onclick" event fired after the button in datagrid clicked, because I want to get the value from that row. But it seem like the client scipt always fired before the item of datagrid created. Please help. I really appreciated.
|
|
|
|
|
First, the javascript will always fire before the post back to the page. That is ok you just have to set the javascript on the first page load of the page. I will give you the basics of what you need to do then I think you should try to do it, if you run into trouble let me know and I can try to help you with your code. It doesn't help you learn much if I just write the code for you.
prerender of the gridview event
foreach gridviewrow in gridview
lbl = gridviewrow.findcontrol 'This is where you get the label or whatever
'that has what info you need
btn = gridviewrow.findcontrol 'this is where you get the delete button
btn.Attributes.add("onclick","return deleteconfirm("+lbl.text+")"))
end forloop
Hope that helps.
Ben
|
|
|
|
|
Hi Ben,
Thanks for your suggestion, but i don't think it's going to work.
Here is what i have:
Sub dgProgram_PreRender(ByVal sender As Object, ByVal e As System.EventArgs)
Dim item As DataGridItem
For Each item In dgProgram.Items
Dim lbl As Label
Dim btn As Button
lbl = CType(item.FindControl("lblProgram"), Label)
Me.program.Value = lbl.Text
btn = CType(item.FindControl("btnDel"), Button)
btn.Attributes.Add("onclick", "return deleteTesting(" + program.ClientID + ");")
'btn.Attributes.Add("onclick", "return deleteTesting(" + lbl.Text + ")")
Next
End Sub
function deleteTesting(v)
{
//v = document.getElementById("<%= program.ClientID %>").value;
return confirm('are you sure to delete ' + v.value + '?');
}
You said the javascript always fire before the postback, then how can we pass the current value of the row that we click on to the javascript. I have tried it many ways, it only pass the value of the last row of the datagrid to javascript. Supposed I have 5 rows in datagrid, when i click "delete" on row 1 and row 3, how we pass the values of these 2 rows to javascipt if you said the javascipt fire before the postback? What am I missing? Please Help!
|
|
|
|