I am learning MVC. I want to refresh the same partial view while clicking on a button. the button is on the same partial view How will I do this? Any help would be appreciated.
jith iii
Posts
-
Refresh the same partial view when clicking on a button -
Challenges in storing files in ftp pathHello, I got a requirement from the admin group of a public website that they need to get a report everyday. The reports can be created wth an operation in the site and at the end of the day admin should be able to access the data. I am exploring the possibilities of exposing an ftp path location without compromising the security. Any suggestions on this?Basically, I want to know is it risky to do this in this way and should i suggest some alternate solution. Regards, Jith
-
What is the most common error in a .Net application?Colin Angus Mackay wrote:
Formatting Dates the Hard Way[^]
That was cool :)...i've bookmarked your blog. One cool blog entry similarly i came across is this[^] from Tom kyte's blog. I am not sure if I came to the above link from codeproject itself,then you would have seen it. I was not aware that Tom Kyte is also blogging.
modified on Tuesday, December 16, 2008 3:39 PM
-
What is the most common error in a .Net application?I think I'm bad in communication :) This was not related to null reference. I just quoted this code when you said about tostring() on integer. Here they could have written the code simply as,
FinalString=String.Format("{0}\{1}\{2}\{3}",value1,value2,value3,value4)
If you want null reference comedy ...here is a gem
IF object1.ToString() <> Nothing Then
End If
-
What is the most common error in a .Net application?What is specific to this error is,people who has enough experience in .Net also carelessly makes this mistake. And just by looking at the error message any other technical person can identify that the developer has tried to perform something with null. Since this is a basic rule, the shame this error makes will sometimes be very much.
-
What is the most common error in a .Net application?ahmed zahmed wrote:
(target ?? "").ToString()
mine is VB.Net :(. This is the first time I'm touching vb.net and it irritates. in C# after intellisence if you click "enter" it would come perfectly. But here it goes to next line and cribs. so many like this.
ahmed zahmed wrote:
??
And it's .Net 2.0
modified on Tuesday, December 16, 2008 2:37 PM
-
What is the most common error in a .Net application?What about this code then which I have seen today written by someone.
Dim var1 as String=String.Format("{0}\", value1)
Dim var2 as String=String.Format("{0}\", value2)
Dim var3 as String=String.Format("{0}\", value3)
Dim var4 as String=String.Format("{0}\", value4)Dim FinalString as String=var1+var2+var3+var4
PassToFunction(FinalString)
No tester could report a bug for this code.
-
What is the most common error in a .Net application?OMG...I was not asking a question. I was not referring the difference between value type and reference type. I think I was having a fair idea about atleast value types and reference types. Let me clarify it was not my code which has got broken here, though I also had contributed my share of null reference exception earlier. When I said I wish null.ToString() to be handled automatically,I really don't wish to be so. Why I said is the people here who code like this have fair idea abou null reference exception and they themselves have made many. Still these type of errors creep into the code and it becomes a big issue in the managerial level. I thought it would be considered as a joke. But someone has 1 voted me down.
modified on Tuesday, December 16, 2008 12:25 PM
-
Where's Adnan?Why should I search for any website which support my argument though I'm sure there would be many. I just quoted things taht are happening infront of my eyes. I can't help if it's not convincing for you.
-
Where's Adnan?Oakman wrote:
There is no reason for them to and no shame attached to their status
Here also it's the same. Now,don't believe if you don't want to believe :) Ging back to parent's may not be the woman's choice. In most cases parents would be the major supporters of the divorce if they are convinced it is a necessitty.
Oakman wrote:
Luckily I can testify from personal knowledge
Then,Can't I testify from my personal knowledge ?
-
What is the most common error in a .Net application?well,grammer may be wrong,but I meant the same. It will instantly give error if you try to set null to an integer,right? why double standard to string where you can set it to nothing but not otherwise? :) (Just consider this as an emotional outburst. I don't really want to excuse people forgetting a null check)
-
Where's Adnan?Oakman wrote:
all you have are beliefs, not facts
Ok, then let me correct myself. Whatever the society I know is like what I said. Since India is a big country with a huge population,I cannot authentically claim to know the behavior of the entire nation. What i said is from the experiences of my firends,relatives and people I know. Also from the newspapers. Again community and education plays a crucial role here. And the text you quoted may be true if you consider cities where the self esteem of women would not allow her to go back to the family. Even if this is true I don't see any difference here even if she was in any other country. Women or men if they are alone they would definitely have difficulty in raising kids irrespective of the nation he/she belongs to. Ok...I need a sleep...all society has goods and bads....:)
modified on Monday, December 15, 2008 3:08 PM
-
What is the most common error in a .Net application?:) ...but I don't know, ToString() is quite popular here. It's coming repeatedly everywhere. May be,people Trim() only after they polish the null refernece with ToString()
-
What is the most common error in a .Net application?If you can assign null to a string,why the hell they are not making null.ToString() atleast null without cribbing. I hate the concept of null considering the harm this error caused to our delivery.
-
What is the most common error in a .Net application?Last week we had a code delivery. We have been taught from the graduation days that ToString() without a null check is a bomb. Still we got it in a critical part . "Object reference not set" My vote goes for it.
modified on Monday, December 15, 2008 2:26 PM
-
Where's Adnan?You initiated it...and now I'm in trap :~
-
Where's Adnan?Oakman wrote:
so far, you aren't providing anything but your opinions
:)I live here. Why should I quote some books for explaining the things that is happening infront of me. If you don't belive me,there are lot of Indians roaming around here. Ask them. Nobody will support forcefull marriages against the wish of their children (I don't think that's too common here). Still in some cases people may support the parents for doing so,if they are convinced that the interest of the girl(in most cases) is will ultimately give her only unhappiness. But nowadays, most of the parents will ultimately agree to their children's wish after the initial fuss. But generally Indian public accept arranged marriage despite of the level of education they are having.
-
Where's Adnan?I'm not saying India is perfect. Neither I support everything that I put in here as happening in Indian society.
-
Where's Adnan?Oakman wrote:
"Often a woman is not able to rely on her family for support because many parents "feel they have discharged their obligations to a daughter by arranging her marriage and providing a dowry."
This is just a piece of fiction. Odd cases might be there. But,generally In India a divorced woman would return back to her parents,if the marriage was initiated by the parents. And divorces are very unlikely to happen within weeks or months. several attempts are done from the family,soceity and even from court to reconcile them.
modified on Monday, December 15, 2008 11:14 AM
-
Where's Adnan?Edbert P wrote:
In addition, in India and some Asian culture there is a push from the society to not divorce.
This is true
Edbert P wrote:
Being a divorcee is seen as totally bad for your social status
This is not at all true.