Click here to Skip to main content

Comments by Jameel VM (Top 200 by date)

Jameel VM at 2 days ago View
   
i don't think it is possible because configurations will be different for both web api and mvc. i suggest you to use web api as separate service.
Jameel VM at 2 days ago View
   
i don't think it is possible. what will we do when the string will be different?
Jameel VM at 2 days ago View
   
Google every question one by one ..Ofcourse you will get answers..
Jameel VM at 2 days ago View
   
why you are trying to do it without loop? any specific reason?
Jameel VM at 2 days ago View
   
Without loop we can't achieve it..because how can we get alternative character without index? also this algorithm will work with any character length you want.
Jameel VM at 2 days ago View
   
I have update my answer please try the new one
Jameel VM at 2 days ago View
   
Most probably the providers can provide the API's you want
Jameel VM at 2 days ago View
   
Please explain your requirement by improving your question
Jameel VM at 2 days ago View
   
Please post your view code and Save Action result
Jameel VM at 3 days ago View
   
try $(this).parent()
Jameel VM at 5 days ago View
   
if u want it, Create another class with a static boolean property and set the value in action filter and then try to access it in index method like NewClass.YourBooleanProperty
Jameel VM at 5 days ago View
   
why u are accessing it in index? because you can check it before this action is execute
Jameel VM at 5 days ago View
   
please post the code you have tried so far
Jameel VM at 5 days ago View
   
what is the problem you are facing?
Jameel VM at 5 days ago View
   
please elaborate your requirement and post the code you have tried
Jameel VM at 5 days ago View
   
which version of visual studio you are using?
Jameel VM at 14-Aug-14 7:45am View
   
did you try anything?
Jameel VM at 14-Aug-14 5:38am View
   
did you put the entries in web.config?
Jameel VM at 14-Aug-14 5:13am View
   
please remove the change event code from code behind and again create method by double clicking the two dropdown boxes.
Jameel VM at 14-Aug-14 4:31am View
   
i have create a method you are expected. Please try that.
Jameel VM at 14-Aug-14 1:53am View
   
go through this link
http://www.codeproject.com/Articles/522611/Entity-Framework-CRUD-Operations-Using-Stored-Proc
Jameel VM at 13-Aug-14 4:56am View
   
please refer my blog ..http://fromjami.wordpress.com/2013/09/17/loading-dropdownlist-in-asp-net-mvc/ .. So you will get an idea first
Jameel VM at 13-Aug-14 4:11am View
   
you can make 3 method as private and rest methods will be public. So caller can access only 3 methods. but i don't know what the interviewer mean :)
Jameel VM at 13-Aug-14 4:06am View
   
where is your controller code and view code you had tried?
Jameel VM at 13-Aug-14 4:05am View
   
first of all you no need to add to list again. just call toList() method.select new
{
s.Branch_Id,
s.Branch_Name,
s.Country_Id,
s.State_Id,
s.City_Id,
co.Country_Name,
st.State_Name,
ct.City_Name
}).ToList();
Jameel VM at 13-Aug-14 2:48am View
   
where you are stuck..linq query or MVC side? please first start with Linq first and then complete view part
Jameel VM at 13-Aug-14 2:41am View
   
what problem you are facing?
Jameel VM at 13-Aug-14 2:37am View
   
Just add a dummy ListItem to the start of the DropDownList and set that item's Enabled property to false. i.e. <asp:ListItem Value="" Text="" Enabled="false" />
<asp:ListItem Value="1" Text="Item 1" />
Jameel VM at 13-Aug-14 2:07am View
   
the link i have shared has almost all the requirement you need. Please atleast try to do it.
Jameel VM at 13-Aug-14 1:47am View
   
did you try to browse the url directly in browser?
Jameel VM at 12-Aug-14 7:20am View
   
please look my answer..it will resolve your problem
Jameel VM at 12-Aug-14 4:55am View
   
also please check the javascript error by using browser developer tools
Jameel VM at 12-Aug-14 4:53am View
   
where you are facing problem, in ajax call or inside service method?
Jameel VM at 12-Aug-14 4:45am View
   
remove runat server attribute from the button
Jameel VM at 12-Aug-14 4:13am View
   
use dynamic keyword
Jameel VM at 12-Aug-14 3:08am View
   
please post the complete code you had tried so far
Jameel VM at 4-Aug-14 1:05am View
   
please post the code you had tried
Jameel VM at 24-Jul-14 7:38am View
   
did you try by using javascript by directly redirect to the url of the aspx page?
Jameel M at 3-Mar-14 10:32am View
   
can you post the controller code?
Jameel M at 23-Feb-14 23:53pm View
   
can you post the action result?
Jameel M at 16-Jan-14 0:58am View
   
you can use the normal FileWriter class to write that text in to a specified location
Jameel M at 16-Jan-14 0:45am View
   
Deleted
then edit and improve the question accordingly.
Jameel M at 16-Jan-14 0:39am View
   
did you want to apply the css to all the Ul elements?
Jameel M at 16-Jan-14 0:28am View
   
Please think in a Security point of view.What would you do any anonymous user or malcious user try to authenticate on second request? you should authenticate on every request else there is no security in your application
Jameel M at 15-Jan-14 13:25pm View
   
Can you post the code what you had done so far?
Jameel M at 10-Jan-14 4:45am View
   
What is the problem you are facing? what you are trying to achieve?
Jameel M at 9-Jan-14 0:00am View
   
Please post the code what you have tried yet?
Jameel M at 7-Jan-14 3:39am View
   
what is the problem?
Jameel M at 7-Jan-14 0:33am View
   
can you post the table mark up code?
Jameel M at 7-Jan-14 0:32am View
   
I think the inside the service has exception.Please try to debug it.
Jameel M at 6-Jan-14 3:41am View
   
Please post the code for fetching records from db.How can we identity your issues without looking the code?we can't access your system from here.
Jameel M at 5-Jan-14 12:49pm View
   
make your textbox as readonly
Jameel M at 3-Jan-14 8:33am View
   
what is 'Val'? can you post the val values?
Jameel M at 3-Jan-14 8:29am View
   
did you try anything?
Jameel M at 3-Jan-14 8:24am View
   
from where you want to pass the jSon Data to the second controller?can you elaborate your question?
Jameel M at 2-Jan-14 1:16am View
   
which plugin you are using?jQGrid?
Jameel M at 18-Nov-13 5:16am View
   
what is the problem actually?
Jameel M at 13-Nov-13 11:36am View
   
what is the exception?
Jameel M at 13-Nov-13 11:19am View
   
your question is not clear. can you elaborate? did you got the query results?
Jameel M at 21-Oct-13 13:28pm View
   
did you try javascript and jquery?
Jameel M at 21-Oct-13 13:27pm View
   
did you try anything?where you are stuck?
Jameel M at 9-Oct-13 2:53am View
   
i think after adding the model class u never build the project.
Jameel M at 4-Oct-13 10:30am View
   
please post the code what you have tried
Jameel M at 4-Oct-13 10:06am View
   
welcome you always..i had write some articles related to ASP.NET MVC. Please go through it when you will get time
http://fromjami.wordpress.com/
Jameel M at 4-Oct-13 9:25am View
   
Maintainability,testabilty also if any modification in any of the project only need to modify that project only. if your project is large it's hard to maintain your application.if you business layer is separate you can test it alone. You can add class library by adding reference.
Jameel M at 4-Oct-13 9:08am View
   
in a large project it's very difficult to maintain your application when the all business logics and models are keep on the same project. I recommend you keep the viewmodel and business logics in a separate project. project is nothing but a class library.
Jameel M at 4-Oct-13 9:01am View
   
Ok.then keep it on separate project for maintainability. Have a nice day
Jameel M at 4-Oct-13 8:59am View
   
please elaborate your requirement. from where you want to create the xml file
Jameel M at 4-Oct-13 8:57am View
   
welcome...use viewmodel as best practice.
Jameel M at 4-Oct-13 8:55am View
   
if your project is large it's better to keep viewmodel in a separate class library else keep it on model folder
Jameel M at 4-Oct-13 6:21am View
   
from where you want to consume the service?
Jameel M at 4-Oct-13 5:37am View
   
did you try anything?
Jameel M at 4-Oct-13 5:35am View
   
where you are stuck? did you try anything?
Jameel M at 3-Oct-13 11:49am View
   
from where you call the service?Javascript?
Jameel M at 29-Sep-13 9:12am View
   
without try you can't put catch inside a catch. you can put catch along with try is possible.
Jameel M at 29-Sep-13 9:08am View
   
did you try to use catch inside a catch?
Jameel M at 27-Sep-13 12:01pm View
   
did you mean the style?
Jameel M at 26-Sep-13 10:14am View
   
Please post the code wat you have tried?We couldn't understand your problem
Jameel M at 26-Sep-13 4:58am View
   
do you have more than three column?
Jameel M at 25-Sep-13 16:16pm View
   
Please understand the basic understanding of ASP.NET MVC and then try to think the architectural level. There are some architectural pattern which are best suitable for MVC application such as Repository Pattern,Dependency Injection pattern, Unit of work pattern which makes you application Maintanable,Flexible,testable etc... You get all these things with example in google
Jameel M at 25-Sep-13 15:58pm View
   
Before posting question like this at least search google and try to implement it. Without hardworking you can't be anything..i have share one link..go through it..
Jameel M at 25-Sep-13 12:05pm View
   
then declare it as a class. assign values before it return to the view.
Jameel M at 25-Sep-13 10:56am View
   
then i recommend is to use Dictionary.
Jameel M at 25-Sep-13 10:51am View
   
i think that is because of some other problem.Please post that problem as separate thread.
Jameel M at 25-Sep-13 1:37am View
   
your question is not clear.can you elaborate little bit more?
Jameel M at 24-Sep-13 15:12pm View
   
actually what you want?
Jameel M at 24-Sep-13 15:11pm View
   
always welcome...my..friend.. Go through this link for hosting wcf in Azure
http://code.msdn.microsoft.com/windowsazure/CSAzureWCFServices-20c7d9c5
Jameel M at 24-Sep-13 15:01pm View
   
I think After registering in windows azure you can host it there free for 30 days or something. may be they charge 1$ for registration. else you should buy a server space.
Jameel M at 24-Sep-13 14:46pm View
   
if you want to access the service from everywhere you should host it in a public server. it has the same concept as web application deployment.
Jameel M at 24-Sep-13 14:29pm View
   
your reply is not clear.can you elaborate your requirement?
Jameel M at 23-Sep-13 4:51am View
   
your question is not clear.Please elaborate.
Jameel M at 21-Sep-13 8:20am View
   
in which action you are try to redirect and when?
Jameel M at 18-Sep-13 14:11pm View
   
your question is not clear.did you want the selected value to controller?
Jameel M at 18-Sep-13 12:00pm View
   
where you specifying the url need to be redirected? could you post the code you have tried?
Jameel M at 18-Sep-13 5:39am View
   
why you are not trying Thread.Sleep?
Jameel M at 13-Sep-13 14:30pm View
   
did you got any script error in console?
Jameel M at 13-Sep-13 11:14am View
   
Please post the full code
Jameel M at 13-Sep-13 7:25am View
   
what is the pblm?
Jameel M at 13-Sep-13 2:32am View
   
go through this http://www.codeproject.com/Articles/383749/How-does-it-work-in-Csharp-Part-3-Csharp-LINQ-in-d
Jameel M at 12-Sep-13 14:49pm View
   
did you mean optimizing the code? or which data you need to be encapsulate?
Jameel M at 12-Sep-13 6:22am View
   
did you try Jsrender?
Jameel M at 12-Sep-13 5:09am View
   
before do it please understand about what is MVC?
Jameel M at 12-Sep-13 5:09am View
   
You can reuse the same BL and DAL in the New MVC project.
Jameel M at 12-Sep-13 1:18am View
   
did you try anything?
Jameel M at 12-Sep-13 1:17am View
   
My friwnd..actually what you are trying to doing?
Jameel M at 11-Sep-13 6:02am View
   
another link
http://jsfiddle.net/UwZsm/2/
Jameel M at 11-Sep-13 6:00am View
   
http://jsfiddle.net/timdown/GVZPX/
Jameel M at 11-Sep-13 5:59am View
   
did you see this?
Jameel M at 11-Sep-13 5:50am View
   
which technology you are using windows or web?
Jameel M at 11-Sep-13 5:49am View
   
from where you try to debug the application?in the local application itself?
Jameel M at 11-Sep-13 5:42am View
   
did you try anything?
Jameel M at 10-Sep-13 13:26pm View
   
actually where are you stuck? i had posted an answer to prev post but didn't give any response. for a good unit testing you need to change your architecture little bit. I recommend you to study Repository pattern.
Jameel M at 10-Sep-13 4:56am View
   
So you want to restrict the process for the second time.right?
Jameel M at 10-Sep-13 4:38am View
   
did you know why singleton pattern?
Jameel M at 10-Sep-13 4:26am View
   
What are you trying to implement?
Jameel M at 10-Sep-13 4:25am View
   
r u try to implement Singleton design pattern?
Jameel M at 9-Sep-13 12:11pm View
   
no.for example dd-mm-yyyy like that.what value you got in estart and eend?
Jameel M at 9-Sep-13 11:57am View
   
in which format you get the date to server?
Jameel M at 9-Sep-13 11:50am View
   
go through this link http://stackoverflow.com/questions/3053372/programmatically-enable-disable-connection
Jameel M at 9-Sep-13 9:49am View
   
I have update my answer.Please follow that
Jameel M at 9-Sep-13 9:17am View
   
let me do it.after that i will update you.
Jameel M at 9-Sep-13 9:14am View
   
can you post the properties of Status class
Jameel M at 9-Sep-13 9:09am View
   
Try like this
Jameel M at 9-Sep-13 9:08am View
   
@Html.DropDownListFor(model => model.id, (IEnumerable<SelectListItem>)ViewBag.StatusList, "--Select--", new { @class = "select" })
Jameel M at 9-Sep-13 9:01am View
   
can you post the partial view code
Jameel M at 9-Sep-13 9:00am View
   
that is because of the data loading to dropdown
Jameel M at 9-Sep-13 7:14am View
   
in which view you render the partial view?
Jameel M at 9-Sep-13 4:41am View
   
the exception is because of invalid connection string.Please make sure that it's a valid connectionstring.
Jameel M at 9-Sep-13 1:32am View
   
what is the pblm actually?please elaborate it
Jameel M at 9-Sep-13 1:06am View
   
what is the error showing in the console?
Jameel M at 8-Sep-13 10:17am View
   
what is the error?
Jameel M at 8-Sep-13 7:17am View
   
Please post the code what you have tried
Jameel M at 8-Sep-13 6:13am View
   
I also advice you to research a lot and after the research if you didn't get any useful information post your doubt to CP or any other forum.
Jameel M at 8-Sep-13 6:11am View
   
please post it as a separate question.if this post helpful mark it as answer or upvote..of course CP will help you
Jameel M at 8-Sep-13 5:59am View
   
then ask to google he will help you.
Jameel M at 8-Sep-13 5:58am View
   
that 's why ask him about the pblm? why he is not satisfy with CP?
Jameel M at 8-Sep-13 5:51am View
   
Please elaborate your question? what column you want to merge?
Jameel M at 8-Sep-13 5:50am View
   
what is your pblm actually?
Jameel M at 8-Sep-13 5:49am View
   
first of all search the Google and understand more about CMS.the application becomes productive that depends on the approach you taken over the technology whether it is cms or any programming language.. actually what is easy means? if the person who know more about wordpress he will say to you wordpress is the best. You can develop your application in joomla,wordpress,asp.net etc.. i recommend you to develop the application in which the technology you know more...and if any doubt in the technology post it.and don't ask question like this
Jameel M at 6-Sep-13 14:02pm View
   
send an ajax request. i think you are redirect to some where else.So you will lost all data
Jameel M at 6-Sep-13 4:51am View
   
can u post the code what you have tried?
Jameel M at 6-Sep-13 4:50am View
   
post it as a separate question by eloborating your requirement.Ofcouse will help you.
Jameel M at 6-Sep-13 1:36am View
   
can you post the index view code by improving the question?
Jameel M at 5-Sep-13 15:09pm View
   
what is the pblm now?
Jameel M at 5-Sep-13 12:15pm View
   
what is the pblm?
Jameel M at 5-Sep-13 10:31am View
   
i recommend you to use ajax call.
Jameel M at 5-Sep-13 9:22am View
   
Please elaborate by putting code
Jameel M at 5-Sep-13 9:17am View
   
in which line you got the exception?
Jameel M at 5-Sep-13 4:41am View
   
did you try anything?
Jameel M at 5-Sep-13 2:06am View
   
what is the exception?
Jameel M at 4-Sep-13 13:41pm View
   
he is asking about custom url routing
Jameel M at 4-Sep-13 13:36pm View
   
you can use both Enity Framework and normal ADO.NET in asp.net mvc
Jameel M at 4-Sep-13 13:11pm View
   
please post the code what you have tried
Jameel M at 4-Sep-13 13:09pm View
   
remove the hover and hover out event use and use click event for showing the pop up.
Jameel M at 4-Sep-13 12:59pm View
   
try by using HttpWebRequest
Jameel M at 4-Sep-13 10:28am View
   
Create a new class and put all the properties to that class. and change your linq like select new YourNewClass{
//set all the properties here.
}
Jameel M at 4-Sep-13 10:25am View
   
then check from the view like that i have posted below.if(status==1){Html.Display("Pending")}
Jameel M at 4-Sep-13 8:21am View
   
JavaScript variable names are case sensitive.so Qnt and qnt are different
Jameel M at 4-Sep-13 8:06am View
   
check the error in console of chrome or mozilla
Jameel M at 4-Sep-13 7:57am View
   
from where you want to check the status?
Jameel M at 4-Sep-13 5:20am View
   
set a counter variable and increment by 1 whenever radio button click and set the counter value to textbox
Jameel M at 4-Sep-13 5:05am View
   
then what's the pbm?
Jameel M at 4-Sep-13 3:03am View
   
so you should create a Custom class.Please create it as a separate question
Jameel M at 4-Sep-13 2:20am View
   
try Json.Stringfy(data)
Jameel M at 4-Sep-13 2:19am View
   
from where you get the status of the product?
Jameel M at 4-Sep-13 1:29am View
   
what is the pblm now?
Jameel M at 3-Sep-13 14:57pm View
   
why u are using gridview in mvc?
Jameel M at 3-Sep-13 12:17pm View
   
what is the pblm now?
Jameel M at 3-Sep-13 12:11pm View
   
can you post the interface code and data1 details
Jameel M at 3-Sep-13 12:10pm View
   
what is your pblm actually?
Jameel M at 3-Sep-13 7:21am View
   
Add namespace using System.Collections.Generic;
Jameel M at 3-Sep-13 7:05am View
   
Please make sure that you should also create one property CityID for getting selected city id in the viewmodel
Jameel M at 3-Sep-13 7:00am View
   
i have updated my answer
Jameel M at 3-Sep-13 6:31am View
   
i mean the view html mark up code
Jameel M at 3-Sep-13 5:47am View
   
please post the mark up also
Jameel M at 3-Sep-13 1:17am View
   
what's the pblm?where you are stuck?
Jameel M at 2-Sep-13 12:03pm View
   
where you are stuck?did you tried anything?
Jameel M at 2-Sep-13 2:37am View
   
Please elaborate your question
Jameel M at 2-Sep-13 2:13am View
   
Windows App or web?
Jameel M at 1-Sep-13 12:35pm View
   
What you want to achieve? Please elaborate your question.
Jameel M at 29-Aug-13 11:18am View
   
i don't think it is possible bcos the properties in every model are different. you already know what are the models you have,then why you are thinking like this?
Jameel M at 29-Aug-13 11:12am View
   
he can take the dynamically created table structure from the browser view source.right?
Jameel M at 29-Aug-13 11:11am View
   
in order to loop through the table cells i need to know the table structure he made.
Jameel M at 29-Aug-13 10:32am View
   
Please post your code what you have tried
Jameel M at 29-Aug-13 10:31am View
   
why you are using same view for every model?what is your requirement actually?
Jameel M at 29-Aug-13 10:12am View
   
Please post your code.
Jameel M at 29-Aug-13 9:56am View
   
what is the error?
Jameel M at 29-Aug-13 9:52am View
   
Please post the html table mark up also by improving the question.Please don't put codes in comment box
Jameel M at 29-Aug-13 9:44am View
   
Please format the question properly
Jameel M at 29-Aug-13 9:42am View
   
what is the pblm?where you are stuck?
Jameel M at 29-Aug-13 9:41am View
   
Please post the code what you have tried
Jameel M at 29-Aug-13 9:40am View
   
i think your application expect the assembly system.net.http.formatting.Please add the assembly once and then try
Jameel M at 29-Aug-13 8:05am View
   
where is the date property?
Jameel M at 29-Aug-13 6:25am View
   
can you post the student entity class code?
Jameel M at 29-Aug-13 4:07am View
   
in what format you want to display the values?can you elaborate your requirement?
Jameel M at 29-Aug-13 2:59am View
   
i have posted the answer before he commented it as win or web. if it is windows then why he put the line (ignore jQuery,ajax control toolkit).it doesn't make ant sense
So you no need of downvoting my answer. i have deleted it bcos now it is not useful.
Jameel M at 29-Aug-13 2:49am View
   
I have posted the answer before he commented it. If it is windows then why he put the line ' (ignore jQuery,ajax control toolkit)'.
Jameel M at 28-Aug-13 11:44am View
   
Google will help you..ask him first..
Jameel M at 27-Aug-13 9:52am View
   
What 's you pblm?Actually what you are trying to achieve?
Jameel M at 26-Aug-13 14:37pm View
   
Where is the code?

Advertise | Privacy | Mobile
Web03 | 2.8.140821.2 | Last Updated 1 Jan 1900
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid