|
yeh that is what i am asking.
I can do like this i think
abc dd = new abc(2, asd)
but here i am giving new value myself whereas i dont want to add any value. i should get value from _abc and _xyz. So in this case what parameters should i add to get this instance thing working. And so that i can do something like this
if (dd.abcID != 200)
do this
thank you
|
|
|
|
|
You can make a constructor with any or no paramaters.
You can also have multiple constructors.
You can set the value of abcID in the contructor (via passing it as a variable). Or you could set it later by updating a public property. It is for you to decide.
I didn't get any requirements for the signature
|
|
|
|
|
hi everybody
here are the steps of explaining my question.
master page
contentplaceholder
Table with 2 rows 2 cols
in first row first colum i have dragged Tree view. On clicking tree view's sub link different pages come up with different size in contentplace holder. if page size is samll than Tree view doesnt move down. if page size increases tree view control moves into the middle.
my question is that how can i make it not to change its position whatsoever size of the other page is.
help would be appreciated.
regards
learner
|
|
|
|
|
Set a width to the Table E.G. 1000px. Set a width to each TD 200px, 800px.
<table style="width:100%">
<tr>
<td style="width:20%;"></td>
<td style="width:80%;"></td>
</tr>
</table>
I didn't get any requirements for the signature
|
|
|
|
|
I used 2 tab panels in this tab container...In each panel i am using separate user controls .
Named the tab panel as A and B
In Each user control i used edit button..while clicking the edit button, the user control page switch to edit mode with update and cancel button...
Without clicking the cancel button of edit mode in page B, if i switched to tabpanel A of this tab container and come back to previous tab panel B..
the edit mode is existing with update and cancel button in tab panel B..
it should be reloaded once again as in normal mode....which event should used to reload the user control
|
|
|
|
|
try the website asp.net and sample of ajax
|
|
|
|
|
Hi,
how to assign "null" to an Integer Field.. Help me..
|
|
|
|
|
You cannot.
However, you could create a nullable int
If a type is not already nullable, you can create a nullable version by adding a question mark onto the end of the name of the type.
int? myNullableInt = null;
|
|
|
|
|
HI,
Im using the gridview control.I tried to add Records and press enter before completing
Edit item Template becomes Enabled Can any one help me..
|
|
|
|
|
Am used html editor in asp.net. But while i click any item like Bold, or Italic and drag it will paste inside the editor. To avoid this i used FreeTextBox. But it is not Wkg in Safari browsers. Pls anyone help me!!!!!!
modified on Monday, April 20, 2009 9:41 AM
|
|
|
|
|
I have a grid view control that is defined by data binding.
One of the columns has a really long value so i want to set that the value inside it will jump a line after something like 30 letters. I tried to use the event DataBound to change the column style after the data binding but for some reason it looks like it didn't enter the event and nothing changed.
Does anyone have an idea on how to do what I need or can tell me what went wrong with the way I tried to do it?
|
|
|
|
|
It would shurely help if you post your code.
What did you check in the OnRowDataBound-event?
Did you check this if the row was a DataRow?
i.e.:
if (e.Row.RowType.Equals(DataControlRowType.DataRow))
{
}
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Im working on Fragment Caching, since "Location" attribute is not defined for the user controls. Im looking for help to make the Caching specific either to Client or Server Side. And also i wanted to delete the cache according to the CacheKey ... Thanks in advance.
|
|
|
|
|
hi,
can any one tell me how to send mail thru SMTP ?? I,m also having a corporate proxy server in between..
thanks in advance
|
|
|
|
|
|
thanx for ur reply....
i've done all this coding.....but the mail get struck in queue folder
|
|
|
|
|
Which means that SMTP server is not running. Start the SMTP server, so that it will send from queue folder.
|
|
|
|
|
Hi buddy, i guess there are some problems on the settings of the SMTP Virtual Server when you said failure to send a mail.
I suggest you should check the settings of the SMTP Virtual Server as fellowing steps:
1) Open [Properties]->[Access]->[Relay...].
2) Check on [Only the list below] and add the IP address 127.0.0.1 on the dialog "Relay Restrictions".
3) Open [Properties]->[Messages], then enlarge the size of "Limit message size to" to send a bigger attachment with a mail.
Hope this will be helpful to you.
|
|
|
|
|
thanx for ur reply
Perry Hou wrote: Check on [Only the list below] and add the IP address 127.0.0.1 on the dialog "Relay Restrictions".
...I,ve already done this
Perry Hou wrote: Open [Properties]->[Messages], then enlarge the size of "Limit message size to" to send a bigger attachment with a mail.
no attachements in my mail.......only two small text lines as body of the mail......but i,ve increased message size setting from 2048 kb to 5000 kb....
still the same result
PS there is also a proxy server in between
|
|
|
|
|
Hi all. ajax is giving me heart burn again and I was wondering if somebody could help. I've got a treeview in an updatepanel conected to a timer. This is supposed to rebuild the treeview every minute or so. All good sofar right... Wrong The treeview does not show up after the rebuild. Can someone tell me why this is happening.
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
If you test with Firefox/Firebug, you can step into the code and see what is happening. I don't like the ASP.NET AJAX library because it leaves you with issues like that, I prefer to actually use AJAX.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Stephen Lintott wrote: Are you thinking that this is a ie problem?
I think it was that FireFox is easier to use for debugging.
|
|
|
|
|
Just fininshed testing between 10 other things and its still breaking the same way as in ie. Nothing comes up in the error console so I have no idea where to go from here.
Stephen Lintott Bsc IT (RAU)
|
|
|
|
|
Have you checked your server side code - are you actually rebinding this properly, does the datasource get set correctly?
|
|
|
|