16,012,116 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Divyay208 (Top 39 by date)
Divyay208
13-Jan-21 11:20am
View
Deleted
Thanks for the reply.. I will create new view any how here also we are creating controls for display and Editor separately.
Divyay208
13-Jan-21 11:20am
View
Thanks for the reply.. I will create new view any how here also we are creating controls for display and Editor separately.
Divyay208
17-Mar-20 14:13pm
View
Thanks for the solution, I modified my code accordingly still it's not working, May be It won't work this way, I updated what I have tried in question. my requirement is similar to https://stackoverflow.com/questions/32764989/asp-net-mvc-5-culture-in-route-and-url
but this is based on current culture.
Divyay208
16-Mar-20 22:38pm
View
I have Implemented the same but I am getting errors in
public class UserRoleHandler : IRouteHandler
{
public IHttpHandler GetHttpHandler(RequestContext requestContext)
{
// Work out the role here, I am hard-coding for simplicity
var listRoles = new List<string> { "Admin", "User", "RRR" };
requestContext.RouteData.Values["role"] = listRoles;
return new MvcHandler(requestContext);
}
}
The error is 'The controller for path '/Home/Index' was not found or does not implement IController.'
Divyay208
16-Mar-20 16:49pm
View
Thanks for the solution, but Roles we get once the user logins, from the above solution 'UserRoleHandler' class getting called way before the Custom Authorize class from filters execution, So I am not getting any roles to implement the above solution
Divyay208
3-Mar-20 9:49am
View
without using cookies can we access div of page 1 in page2 so that we can refresh it
Divyay208
3-Dec-19 11:53am
View
The above article is good... Can you help me for the scenario
1) Legacy webforms application using ASP.Net Provider self service for authenticating and creating users.
2) Now using same database I want to create new MVC application by using same ASP.Net Provider self service.
Is there any way to implement authentication for the above scenario
Divyay208
3-Dec-19 11:49am
View
I got to know how to implement custom authentication using provider self service from the above article.. IS there any way to use existing tables to implement default ASP .net provider member service in MVC
Divyay208
27-Nov-19 12:14pm
View
How we can implement this authorization process like 'MembershipService' in web-forms?
Divyay208
27-Nov-19 11:33am
View
Thank you for the suggestion.. I will Implement the way you suggested
Divyay208
27-Nov-19 11:03am
View
But this case I have new requirement which I need to add it to existing application so instead of implementing it in web-forms I thought of implementing it in MVC that way I can save time, Is there any other way we can implement?
Divyay208
27-Nov-19 9:38am
View
Thanks for the answer, I have one more doubt
1) I am going to implement new pages with MVC application
2) Until the completion of all phases of migration I want to use both MVC and Legacy application together
3) Is it possible?
Divyay208
29-Mar-19 10:24am
View
int count = response.count;
int page_size = 10;
int loop = count /page_size;
for (int page = 1; page <= loop; page++)
{
RootObject restrequest= await ExecuteAsync<rootobject>(State, page_size,page);
AddRecordstoDatabase(restrequest);
}
In this way I am looping and sending requests but the max pages of rest api is 100 so I am getting first 1000 records only and each request(limit of api is 10) I am getting 10 records
Divyay208
29-Mar-19 9:40am
View
Key wont get change the same key I need to pass for all the requests, here I am getting count only so based on count how can i repeat the requests
Divyay208
7-Mar-19 15:16pm
View
I should not block user to go other action ,the first action is asyncronous it may take long time to get complete, so meanwhile user going to another action(view) in this view I want show the status of the first action method in popup if it get completes
Divyay208
21-Feb-19 9:33am
View
If I uninstall I am getting errors of entity framework dependency's missing errors. If I Install then the DLL not referring to the folder
Divyay208
21-Feb-19 9:30am
View
I am not getting errors but in order make the DLL file refer to local folder do I need to write code in we config file?
If I write below code I am getting error as follows, Otherwise Its working
Could not load file or assembly 'System.Web.Entity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="System.Web.Entity, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
Divyay208
9-Jan-19 9:19am
View
If I call function by passing parameters, then its not responding means the function is not getting called
function myfunction(el)
{
alert(el);
}
Divyay208
2-Jan-19 15:16pm
View
can we highlight the selected line from the above on mouse click
Divyay208
30-Dec-18 21:19pm
View
Great,Thank You So Much
Divyay208
25-Mar-18 6:05am
View
There were data format issues in CSV File,especially for the numbers and date fields that is why i am using reporting services
Divyay208
22-Mar-18 2:14am
View
yes but that time also I did n't find any solution so instead of RDLC I used CSv file , but now I want to display data in RDLC then user can export data into EXCEL file
Divyay208
22-Mar-18 2:11am
View
I am using filters to minimize the data but client exporting data into excel and he want to upload same data into their system so I have to show full data depends on their date filters
Divyay208
19-Jun-17 4:03am
View
Thank You For your help
Divyay208
26-Feb-14 0:43am
View
sorry in above question i tried for windows form application..but my requirement is for web application i need same implementation
Divyay208
20-Feb-14 1:52am
View
k can u please give some suggestion that am writing C# .net code in my own editor and now i want to compile that code before saving it into a .cs file
Divyay208
19-Feb-14 23:59pm
View
thank u kruthuparakkal...can u please tell me how to compile that code before saving it on .cs file..and can u please give some suggestion that am writing C# .net code in my own editor and now i want to compile that code before saving it into a .cs file... if that code doesn't have any errors then i want to save that code into a .cs file
Divyay208
19-Feb-14 8:05am
View
thank you for your response... will you please explain me how to copy that output window error message into a text file...i just want to show the error message in catch block txt file
Divyay208
23-Feb-13 3:25am
View
Becuase I am developing the application like se37 function creation part in sap,Same functionality i just wana develop in .net
Divyay208
22-Feb-13 6:11am
View
my requirement is any one can create methods by writing function name, and source code, all users may not be familiar with dynamic methods,so please let me know the easiest mechanisum to create methods from ui
Divyay208
22-Feb-13 0:20am
View
Thank u.. but now i have other requirement i.e
Hi..
I have .cs file in my app_code folder i need to create methods in that .cs file through user inter face
Function Name:.....
SourceCode:
.....
......
.......
I have this requirement, after writing the source code for that function it must be stored in .cs file which is already existing
Divyay208
22-Feb-13 0:16am
View
Deleted
Hi..
I have .cs file in my app_code folder i need to create methods in that .cs file through user inter face
Function Name:.....
SourceCode:
.....
......
.......
I have this requirement, after writing the source code for that function it must be stored in .cs file which is already existing..
Divyay208
21-Feb-13 23:25pm
View
Deleted
Thank You
Divyay208
21-Feb-13 2:16am
View
I need it in run time only...
Divyay208
21-Feb-13 2:15am
View
Yah i need code snippet...
Divyay208
21-Feb-13 0:37am
View
i want it in web applications...I had two buttons one button is for save the .cs code and other button is for compiling that code:
my code is:
protected void btncheckcode_Click(object sender, EventArgs e)
{
StreamWriter Sw1 = new StreamWriter(Server.MapPath("~\\App_Code\\Function\\Functions\\" + txtfunmoduleName.Text+".cs"));
// StreamWriter Sw1 = new StreamWriter(@"D:\DBDEV\WebSite\App_Code\Function\Functions\" + txtfunmoduleName.Text + ".cs");
Sw1.WriteLine(txtcode.Text);
Sw1.Close();
txtcode.Text = "";
}
protected void btnexecute_Click(object sender, EventArgs e)
{
StreamReader SR = new StreamReader(Server.MapPath("~\\App_Code\\Function\\Functions\\" + txtfunmoduleName.Text + ".cs"));
txtcode.Text = SR.ReadToEnd();
SR.Close();
}
...here am able to save the .cs file but not able to compile that code, i want it in web application
Divyay208
6-Jun-12 13:08pm
View
That is My requirement Given By my friend...
Divyay208
5-Jun-12 1:28am
View
Client will decide i mean by clicking on display button the table will be displayed in gridview with out Id's
Divyay208
26-May-12 1:36am
View
Here my table is dynamically created...so i don't no the columns names, in my project client creates the table from front end dynamically
Show More